Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ExitWindowsEx always reboot but not off!
Message
From
05/02/1999 20:54:21
 
 
To
05/02/1999 20:34:45
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00184610
Message ID:
00184620
Views:
22
Hi,
I used to do so before using the following parameter:
#DEFINE EWX_LOGOFF 0
#DEFINE EWX_SHUTDOWN 1
#DEFINE EWX_REBOOT 2
#DEFINE EWX_FORCE 4
#DEFINE EWX_POWEROFF 8

ExitWindowsEx(EWX_SHUTDOWN, 0)

it do shutdown. !!!! However, if there are many running application while u issue ExitWindowsEx() it won shutdown ... (sometime) but it working last time in Win95..try it out.....!!!! if u can solve my problem please told me ...
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform