RB11.02 Access violation when printing to PDF file from report.
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
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
This discussion has been closed.
Comments
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
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
Tested and working.
Regards
Adrian Wreyford