Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using ExitProcess in VFP
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Using ExitProcess in VFP
Miscellaneous
Thread ID:
01257443
Message ID:
01257443
Views:
74
Is it safe to use the WinAPI routiner ExitProcess() from within VFP if you do a CLOSE ALL first? There are situations where I need to do an immediate shutdown without user intervention, and I've found that Quit/Cancel can cause hangups if any forms are open that have QueryUnload code that engages in user interaction. I don't care if the data on the open forms has not been written back to disk. For my particular situation, this is to deal with the "abandoned computer" issue.
Next
Reply
Map
View

Click here to load this message in the networking platform