Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ON SHUTDOWN question
Message
De
03/10/2002 14:07:22
 
 
À
03/10/2002 13:33:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00707422
Message ID:
00707446
Vues:
24
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 ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform