Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Local diskette CITRIX session FoxPro 2.6 DOS
Message
From
02/05/2004 18:47:15
 
 
To
19/04/2004 13:57:51
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00896223
Message ID:
00900258
Views:
20
The old DOS version of our software disabled the "Abort, Retry, Fail" message by intercepting the internal DOS interrupt. Although you could do this with a .BIN file, you probably don't want to accidentally leave the interrupt vector pointing to a .BIN file that got unloaded (such as in the case where the FP program crashes). One way is to do this through a TSR, or even simpler yet, a "loader" program (written in C, assembler, or even Turbo Pascal). Basically the pseudo-code is as follows:

set_up_trap()
exec("main.EXE")
clear_trap()

This assures that interrupt vectors are released properly, even if the main FP application aborts abnormally. The actual program we used provided other utility functions, and used a series of .BIN files as an interface.
Previous
Reply
Map
View

Click here to load this message in the networking platform