Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to shutdown window
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00517011
Message ID:
00517804
Vues:
24
>>Thanks, I was thinking about it too.
>>
>Ah, thanks. I forgot my #includes would get eaten w/o extra formatting.
#include <winuser.h>
#include <windows.h>
void main(){
    ExitWindowsEx(EWX_SHUTDOWN, 0); // Second param is ignored
}
Ok, one more time. Note, when you reply, the format is lost. I use Mike Helland utility to convert text to HTML, but it's for VFP only (so I made few manual changes). We have to expand it on VB and VC too.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform