Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exit Windows NT from VFP 5
Message
From
14/09/1997 03:16:45
 
 
To
14/09/1997 01:14:28
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00050045
Message ID:
00050048
Views:
23
It should work. ExitWindowsEx is a Win32API func for 95 and NT. There are no special references for NT in docs. Although, I don't have NT 3.51 to try.

Vlad

>In the FAQ, their is an entry to exit Windows '95. I would like to do the same on Windows NT 3.51. Is this code still applicable?
>
>* Exit and Restart Windows
>* lnExitType=66 && 66=exit and restart 67=exit for good
>DECLARE INTEGER ExitWindowsEx IN user32 INTEGER, INTEGER
>lnExitWindows=ExitWindowsEx(lnExitType,0)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform