I'm converting a Win32 multithreaded program in a program that uses MFC synchronization objects. In the .h file of my class I define
In my .cpp file when I do
CMultiLock sLock(IntfTskEvents,2 ,FALSE);
I get a compile error: cannot convert parameter 1 from 'class CEvent *' to 'class CSyncObject *'
can anyone show me a short example of how to use CMultiLock?