D:\My Dcuments\TestTheard\TestTheardDlg.cpp(195) : error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'unsigned long (__stdcall *)(void *)'
Error executing cl.exe.
threadFunc一般在那里定义?是不是在Globals里面定义的?
Error executing cl.exe.
threadFunc一般在那里定义?是不是在Globals里面定义的?
{
.....
return 0;
}
UINT MyControllingFunction( LPVOID pParam );
不能用 WINAPI, __stdcall
可以用 __cdecl,或不用(在c里是一会事儿)
CWinThread * pThread=::AfxBeginThread(threadFunc,(LPVOID)&nContinue);
UINT __cdecl MyControllingFunction( LPVOID pParam );