Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using ExitProcess in VFP
Message
De
28/09/2007 11:07:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01257443
Message ID:
01257452
Vues:
18
I use ExitProcess in one of my apps and it works fine.

>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.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform