Easy to "hang" VPE 4 ?

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Easy to "hang" VPE 4 ?

Postby AndrewKennard » Tue Jun 17, 2008 10:57 am

Hi all

I'm new to VPE and am using the DLL from Visual Dataflex 12.1

I'm just having a play with the various commands and obiously sending the occasional wrong value

For example if you do ....

Move (VpeSetOutRect(hDoc, 3,3,3,3)) to rVoid

and then try and use VpeWrite it just hangs on the
write function call

In this particular case I now realise that the page is
in effect of zero size but it shouldn't cause it to
lock up/hang surely ?

have people developed thier own code so that any calculated sizes/positions don't cause a complete system lockup ?

Thanks

Andrew
AndrewKennard
 
Posts: 4
Joined: Tue Jun 17, 2008 10:52 am

Postby IDEAL Software Support » Tue Jun 17, 2008 2:22 pm

Checking the validity of parameters costs performance. Therefore it is left to the responsibility of the developer, who is using VPE.

don't cause a complete system lockup


Only for clarification: this is not causing a complete system lockup, it just consumes a lot of CPU time.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron