i have an exe that if killed in a non graceful fasion, ie. being killed by Task Manager i need to catch it and then perfom some action.
i'm assuming i need to create some message pump in the exe that will catch a message being sent by the Task Manager. is this correct? i need to use win32 to complete this.
thns for the help!