当前位置:编程学习 > C#/ASP.NET >>

求助

菜鸟刚开始编程,出现下面问题,请高手看一下:
error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class CVector & __stdcall CVector::operator=(class CVector const &)" (__imp_??4CVector@@QAGAAV0@ABV0@@Z),该符号在函数 _main 中被引用
1>shiy.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall CVector::CVector(class std::complex<double>,class std::complex<double>,class std::complex<double>)" (__imp_??0CVector@@QAE@V?$complex@N@std@@00@Z),该符号在函数 _main 中被引用
1>shiy.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall CVector::CVector(void)" (__imp_??0CVector@@QAE@XZ),该符号在函数 _main 中被引用
1>F:\ug\shiy\Debug\shiy.exe : fatal error LNK1120: 3 个无法解析的外部命令
请问这是什么问题? --------------------编程问答-------------------- 把CVector对应的cpp文件或其所在的lib文件加入项目. --------------------编程问答-------------------- 把代码贴上来看看才好 --------------------编程问答-------------------- 调用DLL有问题。仔细检查下DLL的调用方式及调用接口。 --------------------编程问答-------------------- http://www.cppblog.com/longshen/archive/2010/04/02/111418.html --------------------编程问答-------------------- 谢谢各位啊,问题已解决
补充:.NET技术 ,  VC.NET
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,