General information
Category:
Coding, syntax & commands
To add to Jim answer, if the shutdown request come from Windows (restart, shut down, log off or end task), Windows will display a "Waiting to close" dialog with an option to the user to shut down the application without waiting for it to close itself. Windows will display that dialog because it doesn't receive any response from the application that will not process the message until it have finished it's update.
You won't be able to address this issue until MS add threading to VFP. You'll have to wait until at least VFP 9 however, I didn't see any threading in the VFP 8 list.
One more thing about threads. With .NET out, VFP is now the only language (AFAIK) for the Windows plateform that doesn't support threads...
>Just a question, If my application is busy running an update taking a long time and a on shutdown event execute a clear events what will happen to my currently running update ?
>
>Will it finish all events in process first and then do the clear events or will it just stop there and then ?
Previous
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