比如新建一个test,在左边有class resource file
随便改点东西,编译成功,关了vc++
下次打开test.cpp时就是没有resource 连接出错
inking...
mfc1.obj : error LNK2001: unresolved external symbol "public: static struct CRuntimeClass const CMfc1Doc::classCMfc1Doc" (..............................)
mfc1.obj : error LNK2001: unresolved external symbol "public: static struct CRuntimeClass const CMainFrame::classCMainFrame" (.................)
mfc1.obj : error LNK2001: unresolved external symbol "public: static struct CRuntimeClass const CMfc1View::classCMfc1View" (.........................)
libcmtd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/mfc1.exe : fatal error LNK1120: 4 unresolved externals
执行 link.exe 时出错.
mfc1.exe - 1 error(s), 0 warning(s)
本人是菜鸟,还请大家指教
[此贴子已经被作者于2006-9-6 21:19:03编辑过]