Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shutdown Win95 after quitting application.exe
Message
From
16/12/1997 19:48:09
 
 
To
16/12/1997 03:50:23
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00066093
Message ID:
00066401
Views:
31
I've tried the following:

* lnExitType=66 && 66=exit and restart 67=exit for good
DECLARE INTEGER ExitWindowsEx IN user32 INTEGER, INTEGER
lnExitWindows=ExitWindowsEx(lnExitType,0)

The result is almost the way I want it, but after shutting down the Win95 then computer restarts by itself.
What I want is the Win95 shuts down and displays the message "It's now safe to turn of your computer".

Could I do that ?

>Hi Andi!
>
>My Sysinfo class (available here on UT) does this trick. Be careful!
>
>>
>>How can I shutdown Win95 after the user quits the application .EXE (VFP
>5) ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform