external exception error with writebox

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

external exception error with writebox

Postby edVPE » Sun Nov 01, 2009 6:26 pm

HI,
I downloaded the standard edition of VPE for windows 32.
I use Delphi 2006
My tests were going fine, but suddenly my program started to hang when I preview the test report I wrote. The program hangs and after 30 seconds gives me AN External exception error –E06D7363 (It always gives me the same address).

I tried to check for lastVPeError code but it returns 0..
It seems to hang on the WriteBox procedure, I checked the parameters and they look fine…

When I use the demo application all is fine.
Do you know what kind of programming error can cause this ?

Thank you
edVPE
 
Posts: 2
Joined: Sun Nov 01, 2009 6:23 pm

Postby IDEAL Software Support » Mon Nov 02, 2009 3:07 pm

Such an error indicates that VPE hangs in an infinite loop of automatic page breaks. This can happen, if the margins are set so small that no text fits onto newly created pages.
IDEAL Software Support
 
Posts: 1622
Joined: Thu Nov 18, 2004 4:03 pm

Postby edVPE » Mon Nov 02, 2009 9:55 pm

OK thanks, you got it right!
I was using
SetDefOutRect(0.4,0.4,0.4,0.4) instead of somthing like
SetDefOutRect(0.4,0.4,PageWidth-0.4,PageBottom-0.4)

Great product and great support, i will go ahead and order you product!

Thank you
edVPE
 
Posts: 2
Joined: Sun Nov 01, 2009 6:23 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 64 guests