>>108 こういう形になってないのでは?

AfxBeginThread ( worker_thread , ・・・);

UINT worker_thread ( LPVOID pPtr )
{
 ・・・