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

Exception

edited April 2003 in General
Hello,

I'm using RB 6.03 (I'm not sure). My program silently generate an archive
(wich is imported in the database).

If an EOutOfResources exception occurs during the :
myReport.Print;
call, no exception is catchable (?) using try / except.
try
myReport.Print;
except
// does not go here...
end;

So I do not know if the report is correctly generated. This first big
problem for me...

The second problem is "why this EOutOfResources occurs ?". If I run two
differents programs wich use RB (statically linked), and if the first
program is openned on a preview rb form, the second thows the exception
frenquently. Is there any reason ?

Thank you

Jean Lacoste

Comments

  • edited April 2003
    Jean,

    I tried throwing the EOutOfResources by creating a bad event handler (large
    TBitmap) in a report and was able to catch the exception just fine. You may
    have resource/memory leaks in your code. Try using a product such as QA
    Suite or Automated QA to detect and repair leaks. If this does not help,
    please send a working example demonstrating the problem to
    support@digital-metaphors.com and we'll take a look.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2003
    Hello,

  • edited April 2003
    There is no need to start a new thread.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.