We have a situation like this
We have an OLE automation server which is an MDI application.(DNR). and a client application which automates the server.
[ This is very simple like we are writing an Automation client for excel.]
From the client application we create server object and created/get internal objects of server.
Same time user can close the server application window by clicking the CLOSE button or FILE/EXIT.
How the client knows the server is exited. Is there any standard method in COM to handle this situation?
(We prefer catching an error in client side. rather than modifying server code. )