//Your class!
class CA
{
//Your call back function.
void CallBack()
{
//Create work thread,input this.
::CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)Thread,NULL,0,this);
}
}
DWORD ThreadFunc(LPVOID lp)
{
CA* pA=(CA*)lp;
//Do process of pA
............
}