#include <windows.h>int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
PSTR szCmdLine, int iCmdShow)
{
MessageBox (NULL, TEXT ("Hello, Windows 98!"), TEXT ("HelloMsg"), 0) ; return 0 ;
}编译错误:错误提示如下
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/HelloMsg.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.我该如何改正
PSTR szCmdLine, int iCmdShow)
{
MessageBox (NULL, TEXT ("Hello, Windows 98!"), TEXT ("HelloMsg"), 0) ; return 0 ;
}编译错误:错误提示如下
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/HelloMsg.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.我该如何改正
/subsystem:console -> /subsystem:windows