Create thread is not accepting the member function
问题 I am trying to create a class for network programming. This will create a general purpose socket with thread. But when I tried to crete the thread using createthread(). The third argument is producing errors. And from the net I came to know that I can't use the member functions as an argument to the createthread(). Is there any thing by which I can achieve this? 回答1: The easiest way to handle this is to create a "stub" function which calls back into your class. UINT tid HANDLE hThread =