Hello everyone,
I have received a request to try to intercept the VM_DESTROY message that is issued by the Task Manager when you end a process. Well, as you might have guessed, the process happens to be my application. I merely want to record in a log that my app was terminated and then gracefully exit.
We have some users that would rather go to the trouble of opening Task Manager, finding the process, and terminating it... rather than just entering a 5 digit# and closing it normally. Go figure...
If you have any sample code that I can implement fairly easily, I would greatly appreciate it.
Take care,
Kevin
I have received a request to try to intercept the VM_DESTROY message that is issued by the Task Manager when you end a process. Well, as you might have guessed, the process happens to be my application. I merely want to record in a log that my app was terminated and then gracefully exit.
We have some users that would rather go to the trouble of opening Task Manager, finding the process, and terminating it... rather than just entering a 5 digit# and closing it normally. Go figure...
If you have any sample code that I can implement fairly easily, I would greatly appreciate it.
Take care,
Kevin