老师请指教一个问题:我使用appwizard 生成一个mfc appwizard(exe)文件出现错误.project name :a
Linking...
a.obj : error LNK2001: unresolved external symbol "public: static struct CRuntimeClass const CADoc::classCADoc" (?classCADoc@CADoc@@2UCRuntimeClass@@B)
a.obj : error LNK2001: unresolved external symbol "public: static struct CRuntimeClass const CMainFrame::classCMainFrame" (?classCMainFrame@CMainFrame@@2UCRuntimeClass@@B)
a.obj : error LNK2001: unresolved external symbol "public: static struct CRuntimeClass const CAView::classCAView" (?classCAView@CAView@@2UCRuntimeClass@@B)
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
libcd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/a.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
a.exe - 7 error(s), 0 warning(s)
请高手指教.