Connecting to a named win32 event object

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I'm writing an application in C# and I need to connect to a win32 event
object (created by another running win32 application).
Anyone have a clue on how to do this, or a hint on where to start ?
I really don't know anything about this, so any help is highly appreciated.
 
I did this a while ago, but can't remeber exactly how I did it. Basically you
will need to use PInvoke to call OpenEvent, and attach the returned handle to
a reset event.

See http://www.pinvoke.net/ for the C# method declaration.

MSDN should be able to provide more details, and I am sure there are others
in the forum who can assist further.

HTH
Dan
 
Back
Top