Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ON SHUTDOWN question
Message
From
03/10/2002 14:07:22
 
 
To
03/10/2002 13:33:45
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00707422
Message ID:
00707446
Views:
23
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
Map
View

Click here to load this message in the networking platform