请大侠看看 这是哪里的错误?
-------------------Configuration: 12 - Win32 Debug--------------------Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/12.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错.
12.exe - 1 error(s), 0 warning(s)
这是代码
// 12.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
// TODO: Place code here.
MessageBox(NULL,TEXT("你好"),TEXT("问好"),MB_OK);
return 0;
}