69,336
社区成员
发帖
与我相关
我的任务
分享
#include<windows.h>
int WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
PSTR szCmdLine,
int iCmdShow)
{
MessageBox(NULL,TEXT("Hello Windows 98"),TEXT("Hello!"),MB_OK);
return 0;
}
Linking...
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/win32.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错.
Creating browse info file...
win32.exe - 1 error(s), 0 warning(s)