↓継承先のクラスです。

#include "stdafx.h"
#include "thrbase.h"

class potato : public thrbase{
unsigned WINAPI ThreadProc(void);
};
unsigned WINAPI potato::ThreadProc(void){
MessageBox(0,TEXT("test"),0,MB_OK);
return 0;
}


スレッドはWinMainから_beginthreadexで呼び出しています。
_beginthreadex(0, 0, &potato::ThreadCall, &dwID, 0, &dwID);