Is there any function in MFC that will reboot(soft) the work station while exiting from a MFC application.
The requirement is if the user press a button it will exit the application and it will reboot the
computer also. If it's possible is any source code available?
I am using VC++ 6.