How can i know when my hooking program is crashed ?

May 5, 2015 at 3:12 AM
Hello,
I am trying to hook CreateProcess of explorer but sometimes it crashed and no notifications to know. How can i know when my hooking program is crashed ?
Thank you.