看来你使用的是MFC,应该使用MFC的API创建线程。首先建立一个线程函数:UINT MyThread( LPVOID pParam ){ // 线程执行的代码。 return 1;}启动线程,第二个参数就是传入线程的参数pParam:AfxBeginThread( MyThread, 0 );