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

AV from TppArchiveReader.PrintToDevices ? (v.7.01)

edited January 2003 in Devices
Hi all,

I started getting this AV since upgrade from version 6.xx to version 7.

I pass this archive (*.raf) to TppArchiveReader.ArchiveFileName and then
call PrintToDevices. If this archive is blank I get an access violation from
this function in ppRelatv.pas:

function TppRelative.GetChildCount: Integer;
begin
Result := FChildren.Count;
end; {function, GetChildCount}

Well the archive is not actually blank it has this: whatever that is.

I did not have this problem with version 6. I know I could modify my code
and test this archive before I start using it, but I wonted to see if this
change in behaviour is by design or by an omission...

TYIA,

Milisav

Comments

  • edited January 2003
    I can send you a patch to fix the problem, so that it works as it did in
    6.03. Shoot an email to support@digital-metaphors.com and we'll reply with
    a runtime patch for this issue.We rebuilt the installs earlier today to
    correct another issue, and slip-streamed them to the website to be
    redownloadable, but this patch didn't make it in time.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.