wopgne
April 2nd, 2004, 03:05 AM
hi,
i am facing a problem while running a program related to multithreading.
the program i followed s from this website
http://www.adminmod.org/karel/2/ch18/ch18.htm
// Start the thread, passing a pointer to the spinner
29: m_pSpinThread[nIndex] = AfxBeginThread(ThreadFunc,
30: (LPVOID)&m_cSpin[iSpnr]);
the error stated: "none of the overloads can convert 1 parameters from type 'unsigned int(_thiscall (MultiDoc::*)(void *)'
coder error = c2665
can anyone help me to solve this problem? tks!
i am facing a problem while running a program related to multithreading.
the program i followed s from this website
http://www.adminmod.org/karel/2/ch18/ch18.htm
// Start the thread, passing a pointer to the spinner
29: m_pSpinThread[nIndex] = AfxBeginThread(ThreadFunc,
30: (LPVOID)&m_cSpin[iSpnr]);
the error stated: "none of the overloads can convert 1 parameters from type 'unsigned int(_thiscall (MultiDoc::*)(void *)'
coder error = c2665
can anyone help me to solve this problem? tks!