在使用vs2008总是会碰到到一些问题,为了以后不再到处找解决办法,就自己先总结下。
问题描述1:
自己这边是完全可以运行,可是一把代码发给其他同事编译运行时,就报下面错误。(属性配置是一样的,把代码发我这还是可以运行)
>NMEALogAnalyzer.obj : error LNK2001: unresolved external symbol "public: __thiscall CWinAppEx::CWinAppEx(int)" (??0CWinAppEx@@QAE@H@Z)
1>NMEALogAnalyzer.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CWinAppEx::~CWinAppEx(void)" (??1CWinAppEx@@UAE@XZ)
1>NMEALogAnalyzer.obj : error LNK2001: unresolved external symbol "public: virtual struct CRuntimeClass * __thiscall CWinAppEx::GetRuntimeClass(void)const " (?GetRuntimeClass@CWinAppEx@@UBEPAUCRuntimeClass@@XZ)
1>NMEALogAnalyzer.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CWinAppEx::ExitInstance(void)" (?ExitInstance@CWinAppEx@@UAEHXZ)
1>NMEALogAnalyzer.o