Sep 4, 2004 #1 aselsus Technical User Aug 16, 2004 4 CA I want to make a dialog based VC++ program that have two buttons that shut the PC and Restart PC; what are the right methods and functions ?
I want to make a dialog based VC++ program that have two buttons that shut the PC and Restart PC; what are the right methods and functions ?
Sep 5, 2004 1 #2 PerFnurt Programmer Feb 25, 2003 972 SE Se doc on the ExitWindowsEx function: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/exitwindowsex.asp /Per "It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure." Upvote 0 Downvote
Se doc on the ExitWindowsEx function: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/exitwindowsex.asp /Per "It was a work of art, flawless, sublime. A triumph equaled only by its monumental failure."
Sep 6, 2004 Thread starter #3 aselsus Technical User Aug 16, 2004 4 CA This is ok. Thanks... Upvote 0 Downvote