Say we have an out-proc COM server and a client. The client calls a method in the server and unexpectedly terminates. Is there a way for the server to detect this and interrupt the method?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not without a keep-alive. There is a built-in keep-alive mechanism if you are using DCOM. The DCOM server will pingback to the COM client periodically, and if 3 pings go unanswered, the server declares the client “gone” and the server-side object can go away.
If it is not DCOM then…?