PDF: Out of Resources
I've a report that contains a TppRichText object. When printing to a PDF
file, I get a Out of Resources error after printing about 178 pages.
Happens in TppPDFUtils.DrawCommandToBitmap:
Result.Canvas.Draw(-aDrawCommand.DrawLeft, -aDrawCommand.DrawTop,
lScreenDevice.PageImage);
Is this is known bug?
Using v10.07 / Delphi 2007.
file, I get a Out of Resources error after printing about 178 pages.
Happens in TppPDFUtils.DrawCommandToBitmap:
Result.Canvas.Draw(-aDrawCommand.DrawLeft, -aDrawCommand.DrawTop,
lScreenDevice.PageImage);
Is this is known bug?
Using v10.07 / Delphi 2007.
This discussion has been closed.
Comments
support@digital-metaphors.com
Ed Dressel
Team DM
The error Out Of Resources occurs when an application contains
memory/resource leaks. Try running your application under a tool that can
check for leaks. AQTime is a good tool. FastMM can also be used.
The line of code that encounters exception does not indicate where the leak
occurs - the leak could be occuring anywhere in the app.
Using RB 10.09 I ran a simple test report under a memory/resource leak
checker and it did not find anything. The report contains a DBRichText and I
generated it to PDF.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com