I'm attempting what you suggested rypyr.
I have
DWORD WINAPI RecvDispatch(LPVOID lpParameter){cBaseServer* pcBaseServer = reinterpret_cast<cBaseServer*>(lpParameter);pcBaseServer->LocalRecv();}
and I'm calling CreateThread like this.
CreateThread(NULL, NULL, RecvDispatch, reinterpret_cast<LPVOID> (pcBaseServer), NULL, dwThreadID);
It is still giving me this casting error:
error C2664: 'CreateThread' : cannot convert parameter 3 from 'unsigned long (void *)' to 'unsigned long (__stdcall *)(void *)'
It's got to be something simple at this point.
Webby
[/source]
[edited by - websitewill on August 7, 2003 11:54:45 AM]