Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I force a reboot on app exit?
Message
From
11/02/1999 12:22:39
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00186106
Message ID:
00186623
Views:
11
I put this code into xboot.prg and then ran it... nothing happened.

Is there more I need to know / do?

Thanks

>>I need to lock a PC so that it runs my app on startup and reboots when my app exits...
>>
>>Any ideas?
>
>DECLARE INTEGER ExitWindowsEx IN WIN32API INTEGER uFlags, INTEGER nReserved
>ExitWindowsEx(2 + 4 + 16, 0)
>
>>
>>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform