How to detect Shutdown
-
Hi experts I want to detect shutdown of the system through my application mine application is a property sheet. Thanks in advance RYK
VC_RYK wrote:
I want to detect shutdown of the system through my application mine application is a property sheet.
Handle
WM_QUERYENDSESSION
.
Nibu thomas Microsoft MVP for VC++ Code must be written to be read, not by the compiler, but by another human being. Programming Blog: http:\\nibuthomas.wordpress.com
-
Hi experts I want to detect shutdown of the system through my application mine application is a property sheet. Thanks in advance RYK
WM_ENDSESSION prasann who else
-
WM_ENDSESSION prasann who else
-
VC_RYK wrote:
suppose i ahve to use somewhere in console base aaplication.
In that case, you could use the SetConsoleCtrlHandler() API. Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: