看看:
   CWinThread * pThread;
   HWND hWnd; 
   hWnd = GetSafeHwnd();
   pThread = AfxBeginThread(ThreadProc,hWnd,1);UINT ThreadProc(LPVOID pParam)
{
Sleep(10000);
return 0;
}error C2665: 'AfxBeginThread' : none of the 2 overloads can convert parameter 1 from type 'unsigned int (void *)'