VC.NET调用动态链接库出错。
动态链接库定义为:class AFX_EXT_CLASS CExportCurve : public CObject
里面有个方法public double CalculateLogData()
主程序中调用动态链接库时出错,
Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: int __thiscall CExportCurve::GetCalibration(struct _CURVEITEM *,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >,double *)" (__imp_?GetCalibration@CExportCurve@@QAEHPAU_CURVEITEM@@V?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@PAN@Z) referenced in function "public: void __thiscall CDataDownloadDlg::GetCurveCilebParam(unsigned char *)" (?GetCurveCilebParam@CDataDownloadDlg@@QAEXPAE@Z)
error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall CExportCurve::GetCalibration(struct _CURVEITEM *,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > >,double *)" (__imp_?GetCalibration@CExportCurve@@QAEHPAU_CURVEITEM@@V?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@PAN@Z)
在网上找了2天了,始终没有结果,希望各位高手能帮一下本小菜。谢谢