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:
01034047
Vues:
20
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
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform