用户界面线程怎么运行不出来。
BOOL CMyThread::InitInstance(){
// TODO: perform and per-thread initialization here
CFrameWnd* pFrameWnd=new CFrameWnd();
pFrameWnd->Create(NULL,"Thread Window");
pFrameWnd->ShowWindow(SW_SHOW);
pFrameWnd->UpdateWindow();
return TRUE;
}
void CTestThreadView::OnUithread()
{
// TODO: Add your command handler code here
AfxBeginThread(RUNTIME_CLASS(MyThread));
}
错误提示:E:\C2\TestThread\TestThreadView.cpp(113) : error C2653: 'MyThread' : is not a class or namespace name
E:\C2\TestThread\TestThreadView.cpp(113) : error C2065: 'classMyThread' : undeclared identifier
该怎么去修改???