Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Execute code when program crashes or is killed.
Message
 
To
23/01/2001 05:07:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00467160
Message ID:
00467182
Views:
16
Hi Tim,

>Doesn't normally happen. Just thought maybe there was some bit of API code I could use..

Practically, no. Theoretically, yes. You can use a __try...__except control structure in C++ and execute VFP code from both branches using the _Execute() function within a FLL. However, according to my testing VFP only can execute one more line after a crash and this line cannot display anything. More problematic, however, is that you need to know which source code line exactly might raise an exception which is not a likely case in reality. *g*

Better find the reason for the crash and work around it.

Christof
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform