Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ExWindowsEx() and Visual C++
Message
From
06/04/1999 08:09:43
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00205131
Message ID:
00205531
Views:
25
You meant to use ExitWindowsEx(EWX_SHUTDOWN | EWX_FORCE, 0)?
Haven't written C for quite a while. I believed I tried it.
The desktop just flashed once and didn't shut down.

Could you expand the tag, please? I am not a member
here so the autolink is not available.

Thank you.

>> ExitWindowsEx(EWX_SHUTDOWN, 0);
> You'll also probably need to use both EWX_FORCE and
> EWX_SHUTDOWN to avoid dialogs in any case.
>
> Under Win95, ExitWindowsEx doesn't function properly from a console
> application. See the MSDN documentation for details.
Regards,
Mr. Man-wai Chang
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform