【发布时间】:2011-12-07 11:59:15
【问题描述】:
我有 Visual Studio C++ 2008 速成版。
我正在尝试编译程序,但出现以下链接错误:
1>MSVCRT.lib(wcrtexew.obj) : error LNK2001: unresolved external symbol _wWinMain@16
我想做什么:
我在谷歌上找到了这个:
For Visual C++ .NET: In the Advanced category of the Linker folder in the Project Properties dialog box, set the Entry Point to wWinMainCRTStartup.
它本来打算工作,但没有。我如何编译这个应用程序?
代码非常简单:
#include "stdafx.h"
int main( int argc, char ** argv )
{
}
【问题讨论】:
标签: c++ visual-studio visual-studio-2008 visual-c++ visual-studio-express