Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Guys,

I would like to know what is the method that gets called on VC++ when, user kills the process.

For example, on close of the app, onclose method is called. What happens when user kills the process.

I though, destructor of the main window would be called, but it did not happen so.

Please suggest.

Regards,
Joy
Posted

1 solution

if your permission to kill a process then all of thread killed

else after moment this process run again(called by parent of Process)
 
Share this answer
 
Comments
joyjhonson 20-Aug-14 8:57am    
So, are you saying that, there is no method that gets called?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900