Thread Synchronization - Named Event

  • Thread starter Thread starter anthony
  • Start date Start date
A

anthony

Hello,

Does anyone know of a way to access a named event created by C++ program
using C#? Any samples would be greatly appreated. I found AutoResetEvent and
ManualResetEvent in C# but doesn't seem to have the parameter for the name
available.

thanks in advance

Regards,
Anthony Yio
 
Unfortunately, for some bizarre reason Microsoft exposed named Mutexes but
not Events.

Fortunately, PInvoking CreateEvent is trivial.

Unfortunately, that means the code must be able to run with Unmanaged code
access permission.
 
Back
Top