改爲:
CWinThread* pThread=AfxBeginThread(CInputView :: Go,GetSafeHwnd());
之前還要申明:
static UINT Go(LPVOID m_hWnd);