Results 1 to 2 of 2

Thread: To Check if the object is alive

  1. #1
    kais
    Guest

    Wink To Check if the object is alive

    Hi all,

    In my vb application, i am creating an instant of the DLL, it is possible that the DLL may get hang and this makes my application as not responding.

    How can i check for the object is responding or not, or it has gone hang???

    Any idea how to check this...



    Thanks in advance


  2. #2
    DerFarm
    Guest
    If you have the thread ID, you could presumably send the dll an
    appropriate message (SendMessage) and wait for a response.
    With no response in X timeframe, I should think it would be
    appropriate to assume that it's hung up.

    Of course, you should also examine the possible places for hang
    up, and attempt to guarrantee that any potential hang up is
    taken care of.

    If you've written the DLL, then you probably don't need me to tell
    you of the potential hangup points.


    HTH

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