D
Donos
Hi
I have a HANDLE to an Event, like this..
HANDLE h = ::CreateEvent(NULL, FALSE, FALSE, NULL);
This is running in one thread in one class. For example we will call
that class as "Class A"
Now i want to use this HANDLE in another thread in another class to
call SetEvent(h); This is "Class B"
I tried creating a pointer to Class A and using it, But it gets an
invalid HANDLE.
Any idea how this can be done?
I have a HANDLE to an Event, like this..
HANDLE h = ::CreateEvent(NULL, FALSE, FALSE, NULL);
This is running in one thread in one class. For example we will call
that class as "Class A"
Now i want to use this HANDLE in another thread in another class to
call SetEvent(h); This is "Class B"
I tried creating a pointer to Class A and using it, But it gets an
invalid HANDLE.
Any idea how this can be done?