| | |
How to make my program detecct when the computer is going to LOGOFF or SHUTDOWN
![]() |
•
•
Join Date: Aug 2004
Posts: 140
Reputation:
Solved Threads: 2
am currently building a program that runs as a background process, but due to the loops inside it, Windows fails to Close it when it goes into either shutdown or LOGOFF mode. It is a GUI program that uses WINMAIN but without a GUI interface. Can you tell me how to make the program detect when the computer is going to shutdown so that it can terminate imediately.
Want a new website for free:
http://indigo.kjots.com/
http://indigo.kjots.com/
•
•
Join Date: Jul 2005
Posts: 164
Reputation:
Solved Threads: 5
Re: How to make my program detecct when the computer is going to LOGOFF or SHUTDOWN
0
#2 Oct 7th, 2005
look up....
WM_QUERYENDSESSION
WM_ENDSESSION
WM_QUERYENDSESSION
WM_ENDSESSION
![]() |
Similar Threads
- Remote Computer Shutdown (Windows NT / 2000 / XP)
- Make a VB Program run in the background? (VB.NET)
- Make my own IM program and MySpace Clone. (PHP)
- Can I make my C program understand that a key has been pressed? (C++)
- need help with java program (Java)
- how can i make the program depend on time (C)
Other Threads in the C Forum
- Previous Thread: C program please help
- Next Thread: intercepting functions with a variable argument list
| Thread Tools | Search this Thread |
#include adobe api array arrays asterisks binarysearch calculate char cm copyanyfile copyimagefile copypdffile cprogramme creafecopyofanytypeoffileinc createcopyoffile createprocess() csyntax database directory dynamic feet fflush fgets file fork forloop frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hacking hardware highest homework i/o include incrementoperators input interest kernel kilometer km linked linkedlist linux linuxsegmentationfault list locate logical_drives loopinsideloop. match matrix meter microsoft motherboard mqqueue mysql number odf open openwebfoundation owf pattern pdf performance pointer posix probleminc process program programming pyramidusingturboccodes radix read recursion recv repetition research scanf scheduling segmentationfault send sequential shape socket socketprograming stack standard string systemcall turboc unix user voidmain() wab win32api windows.h





