Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need to know how to intercept the system shutdown event...

Status
Not open for further replies.

pikkiorock

Programmer
Nov 22, 2001
16
IT
Hi to everyone !!!!

I wish to launch a little .exe file just before the system shutdown... maybe someone knows how can I intercept the shutdown event....

Thx :)
 
Why don't you just have a small EXE file that runs at startup and continues running throughout the session, and then when it receives the WM_QUERYENDSESSION message, it takes appropriate action

I REALLY hope that helps.
Will
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top