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

Error in TppPDFXref.Destroy

edited June 2005 in Devices
Hi there.

I use the PDF device and Output stream to store copies of the Report into
the Database.
When I go to PDFDevice.free and trace it through a exception is caused in

TppPDFXref.Destroy

liCount := FPDFObjectList.Count - 1;

for liIndex := liCount downto 0 do
begin
TppPDFObject(FPDFObjectList[liIndex]).Free;
end;

The exception for this particular report always happens when liIndex = 4

Any help would be appreciated

Dan

Comments

  • edited June 2005
    Hi Dan,

    Which version of ReportBuilder are you using? If possible, please send a
    small example of this in .zip format to support@digital-metaphors.com and
    I'll work on finding the issue for you.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2005
    I have sent the code I am using
    You will not be able to compile, sorry to busy to re do it into a example
    but you will be able to see what methods i am calling and how

    Dan
This discussion has been closed.