void pointer to a member function
Im trying to use createthread on a member function of an object and need a little help.
CreateThread(NULL, 0, WHAT_GOES_HERE, (void *)null, 0, 1);
And just a bs member function of myclass:
DWORD WINAPI myclass::go(LPVOID nothing)
I guess what i need is a void pointer to a member function of an object and i dont know how to get that. i tried playing around with "this->go" and the like, but im dumb. Also, dont complain about the void * to null. i dont want to pass any data, and im aware of how to properly use the createthread function, im just trying to get a really weird idea to work.
thanks.