Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to shutdown window
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00517011
Message ID:
00517804
Views:
23
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform