problem with AfxBeginThread
hi
i am geting error while using AfxBeginThread
here is my sample code
UINT CTestDoc::ThreadFunc(LPVOID pParam)
{
CSpinner* lpSpin = (CSpinner*)pParam;
// Get a pointer to the continuation flag
return 0;
}
void CTestDoc::SuspendSpinner(int nIndex, BOOL bSuspend)
{
CWinThread* m_pSpinThread[nIndex] = AfxBeginThread(ThreadFunc,
(LPVOID) &m_cSpin[iSpnr]);
}
i don'tknow how Attachment complet code in this forum if u want complet code please send me u mail id
my error is
AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'unsigned int (void *)'

