Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exit Windows
Message
De
19/09/1998 08:05:47
 
 
À
19/09/1998 07:18:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00138616
Message ID:
00138623
Vues:
16
>How can I program my application to shutdown the windows 95??
> I am using function "exitwindowsex" win32api,but the windows hang after the execution.And then, I am sure about:
> -If i execute exit windows from my application ,i should close my app first,or directly issue the exit windows command???If close the app first,i think the exit windows command couldn't be executed.

When you shutdown Windows, all applications receives WM_SHUTDOWN message (if my memory serves me right). So, after issuing the call to ExitWindowsEx function, your application will receive the mesage from Windows to shutdown itself. Obviously, you have to close all tables before shutdowning (or, at least, close them in ON SHUTDOWN routine)
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform