What you usually do is something like the following:
UINT CMyClass::ThreadFunc(LPVOID p) //this is your static func
{
CMyClass* pMyClass = (CMyClass*)p;
p->SomeNonStaticFunc(); //access non-static member functions
p->DataMember = 0; //access non-static member data
...
return 0; //return your thread exit code
}
void CMyClass::SomeFunc()
{
AfxBeginThread(ThreadFunc, this); //start your thread function
}
--Dean