vc6.0出现无法解析错误
在寫程序的時候報了下面一些錯誤,之前以為是某個函數沒有被定義,只是申明了,一般在vs里面申明了沒定義是被報錯的,但vc6.0沒有報錯,而相似 的報錯結果的原因是沒有添加一個工程進來。之前在別的程序里面添加一個類到當前目錄,如果引用了頭文件而沒有添加到工程中的話就會出現下面無法解析的錯誤
Linking…
MposSnWrite.obj : error LNK2001: unresolved external symbol “public: virtual __thiscall CCommunication::~CCommunication(void)” (??1CCommunication@@UAE@XZ)
MposSnWriteDlg.obj : error LNK2001: unresolved external symbol “public: virtual __thiscall CCommunication::~CCommunication(void)” (??1CCommunication@@UAE@XZ)
MposSnWriteDlg.obj : error LNK2001: unresolved external symbol “public: __thiscall CCommunication::CCommunication(void)” (??0CCommunication@@QAE@XZ)
MposSnWriteDlg.obj : error LNK2001: unresolved external symbol “public: int __thiscall CCommunication::SetTime(void *,unsigned int,void *,unsigned int *)” (?SetTime@CCommunication@@QAEHPAXI0PAI@Z)
MposSnWriteDlg.obj : error LNK2001: unresolved external symbol “public: int __thiscall CCommunication::GetHandShak(void)” (?GetHandShak@CCommunication@@QAEHXZ)
MposSnWriteDlg.obj : error LNK2001: unresolved external symbol “public: int __thiscall CCommunication::OpenDeviceInfo(unsigned long,unsigned long,int)” (?OpenDeviceInfo@CCommunication@@QAEHKKH@Z)
Debug/MposSnWrite.exe : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.
MposSnWrite.exe - 7 error(s), 0 warning(s)
《新程序員》:云原生和全面數字化實踐50位技術專家共同創作,文字、視頻、音頻交互閱讀總結
以上是生活随笔為你收集整理的vc6.0出现无法解析错误的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: oledb32.dll的作用
- 下一篇: VC6在64位Win7下调试无法退出的问