HELP !!! How to detect my process is being killed???

S

Sam

Hi,

I was wondering if there is a way to detect (get notification) when
my process is being terminated, for example by Task Manager. It is easy
to get a Windows Message when they close your window, I would get WM_CLOSE
or WM_DESTROY, or WM_ENDSESSION. But how do I handle graceful termination
when they kill my process from Task Manager, in which case i don't
get those messages :((((

?????
 
M

Mac

Hi,

I was wondering if there is a way to detect (get notification) when
my process is being terminated, for example by Task Manager. It is easy
to get a Windows Message when they close your window, I would get WM_CLOSE
or WM_DESTROY, or WM_ENDSESSION. But how do I handle graceful termination
when they kill my process from Task Manager, in which case i don't
get those messages :((((

?????

Wrong newsgroup.

Try something with "microsoft" or "windows" in the title.

comp.os.ms-windows.programmer, maybe? But please read the FAQ list or charter
before posting.

Mac
--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top