LHMonAPI

Home Forums Discussions Support LHMonAPI

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5010
    colinw
    Participant

      I am using the Local Host Monitor API and I have just downloaded the latest version.

      I see that the testapp has changed to use a new call – waitfordata – instead of using waitforsingleobject to wait on the LHMonEvent. This causes me a problem because in my application I use waitformultipleobjects to wait on the LHMonEvent and also another event which indicates to me a shutdown. It looks as though I can no longer do this. Is this correct? Or can I do something with the handle returned from GetWaitEvent?

      Any help much appreciated.

      #6015
      Anton
      Participant

        Yes, you can use the handle returned from GetWaitEvent with your WaitForMultipeObjects calls. It’s just a handle to LHMonEvent.

        #6016
        colinw
        Participant

          OK Thanks.

          I had tried that but I simply replaced the call to waitfordata with waitformultipleobjects and had forgotten to call resetevent. It all looks ok now.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.