Access Violation in rtl100
I am converting a program from Delphi 5 with Report Builder 7.04 to Delphi
2007 with Report Builder 10.09.
The following code which worked in Delphi 5 now gives an Access Violation in
rtl100.bpl.
fmReports.ppReport1.AllowPrintToFile := True;
fmReports.ppReport1.ShowPrintDialog := false;
fmReports.ppReport1.DeviceType := 'PDF';
fmReports.ppReport1.TextFileName := PDFFileName;
fmReports.ppReport1.Print;
I can get it to work by setting ShowPrintDialog property to true.
I am not sure what other information I can give you. Does this make any
sense?
--
Richard Harding
Windella Computer Knowhow
28 Freeman Drive
Lochinvar NSW 2321
Phone: 61 2 4930 7336
Mobile: 0419 016 032
email: rharding@wck.com.au
2007 with Report Builder 10.09.
The following code which worked in Delphi 5 now gives an Access Violation in
rtl100.bpl.
fmReports.ppReport1.AllowPrintToFile := True;
fmReports.ppReport1.ShowPrintDialog := false;
fmReports.ppReport1.DeviceType := 'PDF';
fmReports.ppReport1.TextFileName := PDFFileName;
fmReports.ppReport1.Print;
I can get it to work by setting ShowPrintDialog property to true.
I am not sure what other information I can give you. Does this make any
sense?
--
Richard Harding
Windella Computer Knowhow
28 Freeman Drive
Lochinvar NSW 2321
Phone: 61 2 4930 7336
Mobile: 0419 016 032
email: rharding@wck.com.au
This discussion has been closed.
Comments
In my quick testing with the exact code below, I was unable to recreate the
issue. If possible, please create a simple example I can run on my machine
that shows the problem and send it to support@digital-metaphors.com and I'll
take a look at it for you.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I will see if I can recreate it and send it to you.
Richard Harding