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