Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

RB11.02 Access violation when printing to PDF file from report.

edited December 2008 in General
Hi, when comiling my project without any changes from previous version of
RB, it now throws an EAccessViolation when printing a report to File of type
PDF.

Any pointers?

I created a new VCL Froms application.
Dropped a ppReport on the form and a speedbutton with an on click event
ppreport1.print.
I dropped a label and an image on the report, and enabled ALLOWPRINTTOFILE.

I ran the application, pressed the button, and the report displays fine.
I press print button, and dialogue opens.
I select to file, and PDF, and enter the address of the pdf file.
and press ok.

I then get the access violation.
If I enable openPDFFile, the accessviolation is thrown, and thereafter the
ADOBE opens and warns empty document.

PS Trend micro also warns of Library injection at the time of the opening of
the Print dialogue!

Thanks

Adrian Wreyford

Comments

  • edited December 2008

    This is being researched...I will post a follow up here

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited December 2008

    I just emailed you a patch.

    Registered users of RB 11.02 that encounter this issue, can email
    support@digital-metaphors.com and request the patch.

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited December 2008
    Thanks Nard.

    Tested and working.

    Regards

    Adrian Wreyford

This discussion has been closed.