新手的小问题
新建了一个 MFC AppWizard (exe) 单窗口的,链接运行出现窗口
关闭后重新打开,怎么链接出错啊?
vc6.0下:
LINK : warning LNK4098: defaultlib "mfc42d.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "mfcs42d.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "msvcrtd.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "mfco42d.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
libcd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/MainFrm.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.