Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shutdown windows from VFP
Message
De
26/08/1999 09:59:28
 
 
À
26/08/1999 09:57:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00257824
Message ID:
00257881
Vues:
17
>>Hi all
>>
>>Anybody knows the right API call to shutdown windows from VFP ?
>
>ExitProcessEx() - check the FAQ under Win32 and Other APIs - I have an entry in there that describes what you need to do.

Make that ExitWindowsEx(); the API call can be used to force logout, restart, reboot or shutdown, but NT may make life tough. behavior varies depending on whether it runs in a WinAPp or a console app.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform