Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ExWindowsEx() and Visual C++
Message
From
04/04/1999 23:09:07
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
ExWindowsEx() and Visual C++
Miscellaneous
Thread ID:
00205131
Message ID:
00205131
Views:
151
I compiled the following simple Win32 application using
VC++ 6.0 in Win95 but the program didn't work. It just
exited like a normal application without shutting down
the PC. What's wrong?
// shutdown.cpp
#include "stdafx.h"
#include "windows.h"

void main(int argc, char* argv[])
{
        ExitWindowsEx(EWX_SHUTDOWN, 0);
}
Regards,
Mr. Man-wai Chang
Next
Reply
Map
View

Click here to load this message in the networking platform