解决方法:
static UINT WINAPI ThreadFunc(LPVOID param)
{
IDialysisConnector* obj = (IDialysisConnector*)param;
obj->TheFunctionYouWantToCallInThread(); // call the member function
// to do the work in our new thread
}
int TheFunctionYouWantToCallInThread()
{
DWORD dwThreadId;
//give 'this' as the thread param to ThreadFunc
threadHandle_=CreateThread(NULL,0, (LPTHREAD_START_ROUTINE)ThreadFunc,(LPVOID)this,0,&dwThreadId);
}