Saving large report to PDF cause access violation when ShowCancelDialog is false!
Hi,
I am using RB 14.06 standard with Delphi 7.
I am generating PD files, that are eventually zipped with all files destined
for a certaion customer, and the zip is then emailed.
When I generated huge itemised bills, test example was 100 pages, but I
think it can happen at fewer pages, it raises an access violation after a
while, likely when a certaion page count is reached, or maybe when it uses a
certaion amount of memory.
I switched ShowCancelDialog = true to try to see how many pages it
generates, but found thta with ShowCancelDialog = true it does not raise an
acces violation!
Any ideas?
Regards
Kedul
I am using RB 14.06 standard with Delphi 7.
I am generating PD files, that are eventually zipped with all files destined
for a certaion customer, and the zip is then emailed.
When I generated huge itemised bills, test example was 100 pages, but I
think it can happen at fewer pages, it raises an access violation after a
while, likely when a certaion page count is reached, or maybe when it uses a
certaion amount of memory.
I switched ShowCancelDialog = true to try to see how many pages it
generates, but found thta with ShowCancelDialog = true it does not raise an
acces violation!
Any ideas?
Regards
Kedul
This discussion has been closed.
Comments
I did a quick test with RB 14.06, Delphi 7 and successfully exported a
1000 page report to PDF with the ShowCancelDialog property set to False.
Are you able to recreate this with a simple example I could run here?
If so, please send it in zip format to support@digital-metaphors.com and
I'll take a look at it for you.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com