Help dear ones.
Such a task: it is necessary to programmatically turn off the PC, but not so long ago I sat down for C ++ in C builder, I know how to turn it off, but at Visual Studio 2008 I cannot.
Thank.
Help dear ones.
Such a task: it is necessary to programmatically turn off the PC, but not so long ago I sat down for C ++ in C builder, I know how to turn it off, but at Visual Studio 2008 I cannot.
Thank.
On Visual C ++, shutdown will be performed using the same Windows API function as Builder C ++, namely: ExitWindowsEx .
Source: https://ru.stackoverflow.com/questions/102354/
All Articles