CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2003
    Posts
    5

    Question How to COM client to know about server crash?

    Hi all,

    Does anybody knows how to:

    I have a COM client connected through a proxy to the COM object in local server. Is there a method for the client to get known about the server crashed without polling on some interface method, waiting for error ?

    Best regards,
    vips

  2. #2
    Join Date
    Nov 2002
    Location
    Israel
    Posts
    182
    Maybe that will be a strange way - you can check the process of the local server - if it is still alive on not. Another way is to send a message to the local server. I'd say that the standard method. You send a message and receive a response - so you know that everything's OK. If you wrote the local server - the task become easier.
    Who knows another method?
    Good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured