General information
Category:
Coding, syntax & commands
Title:
Using ExitProcess in VFP
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only