Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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. )
0 · ·