CTestView* pView= this;
CWinThread* pThread=AfxBeginThread(ResultDisplay,pView,THREAD_PRIORITY_NORMAL,0,0,CREATE_SUSPENDED);UINT CTestView:: ResultDisplay(LPVOID pParam)
{
......
}
H:\PROGRAMME\VC\Test\TestView.cpp(97) : error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'unsigned int (void *)'
CMyThread * thread = AfxBeginThread(RUNTIME_CLASS(CMyThread),
THREAD_PRIORITY_NORMAL,
0, // stack size
CREATE_SUSPENDED);for more details ,see
www.codeproject.com/threads/usinguithreads.asp
---------------------
刚刚回答了一个这样的问题
http://expert.csdn.net/Expert/topic/1544/1544976.xml?temp=.7773401
只有ResultDisplay要声明为静态函数或外部函数,符合标准的线程函数类型
UINT (void *)