- 94 名前:デフォルトの名無しさん [2007/10/16(火) 17:57:32 ]
- VCExpress2008Beta2で以下のような最小Winプログラムを実行しようとしたのですが、
ビルドに失敗してしまいます。何故なのでしょうか? #include <windows.h> int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR pCmdLine, int showCmd) { return 0; } エラー 1 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup MSVCRTD.lib エラー 2 fatal error LNK1120: 1 unresolved externals C:\Documents and Settings\Owner\My Documents\Visual Studio 2008\Projects\test\Debug\test.exe
|

|