unsigned __stdcall ThreadProcess(void *pThreadPtr ) { CThread *pThread = (CThread*)pThreadPtr; pThread->Run(); pThread->Exit(); return 0; }