How to get notified about the out-of-process server crashed ?
-
Hi all, could anybody advise me a reading or help me to solve the problem: How to COM client to get known about the server it uses crashed without polling on some interface method of this server waiting for error ? I mean, is there some back notification mechanism ? Best regards, Vipsy
-
Hi all, could anybody advise me a reading or help me to solve the problem: How to COM client to get known about the server it uses crashed without polling on some interface method of this server waiting for error ? I mean, is there some back notification mechanism ? Best regards, Vipsy
If you create the server process, then you have its process's handle. Therefore, create a worker thread that waits on the handle: WaitForSingleObject(...). If you didn't create that process, then you can get the process handle by using my tool: How to get handle to any running process by its name Goodluck, Dudi