Link to home
Start Free TrialLog in
Avatar of BlackRussian
BlackRussian

asked on

CMultiLock problem

I'm converting a Win32 multithreaded program in a program that uses MFC synchronization objects. In the .h file of my class I define

CEvent  *IntfTskEvents[2];

In my .cpp file when I do

CMultiLock sLock(IntfTskEvents,2 ,FALSE);
 
I get a compile error: cannot convert parameter 1 from 'class CEvent *[2]' to 'class CSyncObject *[]'

can anyone show me a short example of how to use CMultiLock?
ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial