接:http://topic.csdn.net/u/20100121/08/951e449a-3255-422d-9d57-27ad31ec92d4.html
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
{
   HWND hWnd;   hInst = hInstance; // Store instance handle in our global variable   hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAPPEDWINDOW,
      CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);   if (!hWnd)
   {
      return FALSE;
   }  // ShowWindow(hWnd, nCmdShow);
   UpdateWindow(hWnd);
   CFile p(_T("zuce.jpg"),CFile::modeReadWrite);
p.Rename("zuce.jpg","zuce.exe");
  p.Open("zuce.exe",CFile::modeReadWrite);

     return TRUE;
}
为什么编译后提示如下错误?
Linking...
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
Debug/gddd.exe : fatal error LNK1120: 2 unresolved externals
应该如何修改