问题是这样的:在工程中新加入了类(如对话框类CDispshuju5),在程序中略为改动一下之后重新编译运行,出错了,
提示错误为:
MyPropSheet.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CDispshuju5::~CDispshuju5(void)" (??1CDispshuju5@@UAE@XZ)
MyPropSheet.obj : error LNK2001: unresolved external symbol "public: __thiscall CDispshuju5::CDispshuju5(void)" (??0CDispshuju5@@QAE@XZ)
Debug/696.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.并且该类在workspace中也不显示了,也就是说,在workspace中找不到该类了。这是什么原因呢?
提示错误为:
MyPropSheet.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CDispshuju5::~CDispshuju5(void)" (??1CDispshuju5@@UAE@XZ)
MyPropSheet.obj : error LNK2001: unresolved external symbol "public: __thiscall CDispshuju5::CDispshuju5(void)" (??0CDispshuju5@@QAE@XZ)
Debug/696.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.并且该类在workspace中也不显示了,也就是说,在workspace中找不到该类了。这是什么原因呢?
请问这是什么原因造成的呢?觉得有点莫明其妙。
你用搜索功能,搜一下项目中是否有使用CDispshuju5类