Static DWORD WINAPI Thread_Func (LPVOID Instance);
Pass the THIS pointer to Instance
(Cclassname *) PTHIS = (cclassname *) instance;
Then use PTHIS in the thread function instead of this. (Static member function cannot directly use this pointer)