I had a fully working multi-threaded windows application.
Unfortunately, I had to convert it to be Object Oriented,
and now I have problems with my CreateThread calls.
I had some module and I wrapped all it's functions
in a class, and I want to get the same functionality.
But when I call CreateThread from one of the methods
to create a new thread with some oter method, I get next error:
cannot convert parameter 3 from 'unsigned long (__stdcall *(void *))(void *)' to 'unsigned long (__stdcall *)(void *)
All this worked before both functions were inserted into the class. Any suggestions?
Called function declared as:
DWORD WINAPI class_name::function_name(LPVOID lpvThreadParam);
Thanks in advance