Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows won't Shutdown
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01033966
Message ID:
01034050
Vues:
19
Hi Hugo.

Yes, I've got the Shutdown event, it's in the framework I use, which is Codemine V7. Codemine takes care of closing forms and taking care of all stuff.
When Windows starts its shutdown procedure, my application does shutdown properly, but then by some reason Windows doesn't.

I just wish it would die peacefully ...

Thanks for your attention.

Ivan



>Ivan,
>
>Do you have an OnShutDown event? Usually our main programs have something like:
>
>
>
>* All needed settings for example:
>set deleted on
>set exact off
>* and so on, then
>
>on shutdown do exit_to_windows
>
>* then do the main form/menu etc
>
>do form myForm
>read events
>
>exit_to_windows()
>
>
>function exit_to_windows()
>
>* Clean up code
>clear dlls
>release all
>clear all
>close all
>quit
>
>
>When windows shuts-down, the program should end cleanly
Ivan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform