Using Visual C++ and the CreateThread function I have a problem with member functions. If i call CreateThread
hconin = ::CreateThread(NULL,0,
Where WorkerThread is a global function everything is OK.
But if I define WorkerThread to be a member function of the Class that is calling CreateThread i get an error at compile time.
error C2440: 'type cast' : cannot convert from 'overloaded function type' to 'unsigned long (__stdcall *)(void *)'
Anyone any ideas