参考代码:
C/C++ codeDWORD ExitCode; ::GetExitCodeThread(m_pThread->m_hThread,&ExitCode); while(ExitCode==STILL_ACTIVE) { ::GetExitCodeThread(m_pThread->m_hThread,&ExitCode); }
希望对你有帮助。