我刚学VC++,按照参考书写了一个显示位图的程序,编译时出现下面两个错误:
DIB.OBJ : error LNK2001: unresolved external symbol "public: virtual struct CRuntimeClass * __thiscall CDIB::GetRuntimeClass(void)const "
(?GetRuntimeClass@CDIB@@UBEPAUCRuntimeClass@@XZ)
Debug/See.exe : fatal error LNK1120: 1 unresolved externals不知该怎么办,请高手指教,多谢!!!
DIB.OBJ : error LNK2001: unresolved external symbol "public: virtual struct CRuntimeClass * __thiscall CDIB::GetRuntimeClass(void)const "
(?GetRuntimeClass@CDIB@@UBEPAUCRuntimeClass@@XZ)
Debug/See.exe : fatal error LNK1120: 1 unresolved externals不知该怎么办,请高手指教,多谢!!!
可能是lib文件没有加入
http://tech.enet.com.cn/document/20001011/2000101121104501.shtml