Hi,all, I have the following code that tried to AfxBeginThread:
struct RecExtractParam{ bool bthreadrunning; bool bMod; float fSimBlkShpWt; float fSimGrPosWt; float fSimGrTxtAttWt; float fSimGrTypesWt; float fDataUnitGroupSimThld; float fVertDistThld; RecExtractParam(){ bthreadrunning = false; bMod = false; fSimBlkShpWt = 0; fSimGrPosWt = 0; fSimGrTxtAttWt = 0; fSimGrTypesWt = 0; fDataUnitGroupSimThld = 0; fVertDistThld = 0; } }; RecExtractParam m_structBlkContSimPara; UINT CXMLDOMFromVCDlg::RecExtractThreadCtrlFunc(LPVOID pParam) AfxBeginThread(RecExtractThreadCtrlFunc, &m_structBlkContSimPara);
but the there is a syntax error saying
no instance of overload function of 'AfxBeginThread' matches the argument list
I don't know what's going on and how to fix it?
cheers