\..\..\bin\CmdMgr.dll : fatal error LNK1120: 37 个无法解析的外部命令

2>     正在创建库 ..\..\..\bin\CmdMgr.lib 和对象 ..\..\..\bin\CmdMgr.exp
2>CmdMgr.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall CDataSvr::CDataSvr(void)" ([email protected]@[email protected]),该符号在函数 "public: __thiscall CCmdMgrApp::CCmdMgrApp(void)" ([email protected]@[email protected]) 中被引用
2>CmdMgr.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::Close(void)" ([email protected]@@QAEHXZ),该符号在函数 "public: virtual __thiscall CCmdMgrApp::~CCmdMgrApp(void)" ([email protected]@[email protected]) 中被引用
2>CmdMgrDialog.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CShift::GetBanCi(void)" ([email protected]@@QAEHXZ),该符号在函数 "public: void __thiscall CCmdMgrDialog::SetItemState(void)" ([email protected]@@QAEXXZ) 中被引用
2>CmdMgrDialog.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class ATL::CTime __thiscall CShift::GetDay(void)" ([email protected]@@[email protected]@@XZ),该符号在函数 "public: void __thiscall CCmdMgrDialog::SetItemState(void)" ([email protected]@@QAEXXZ) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::GetCmdMaxId(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,unsigned int &)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@[email protected]),该符号在函数 "public: int __thiscall COrderManager::InitData(struct SUser *,struct SDdt *,class CShift *)" ([email protected]@@[email protected]@[email protected]@[email protected]@@Z) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::GetCmdTemplate(class CArray<struct SOrderType,struct SOrderType> &)" ([email protected]@@[email protected]@@[email protected]@@@Z),该符号在函数 "public: int __thiscall COrderManager::InitData(struct SUser *,struct SDdt *,class CShift *)" ([email protected]@@[email protected]@[email protected]@[email protected]@@Z) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::GetCmdRecvPoint(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,class CArray<struct SRecvPoint,struct SRecvPoint> &)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@[email protected]@@[email protected]@@@Z),该符号在函数 "public: int __thiscall COrderManager::InitData(struct SUser *,struct SDdt *,class CShift *)" ([email protected]@@[email protected]@[email protected]@[email protected]@@Z) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::GetDispatchCmdNoSend(class ATL::CTime const &,class ATL::CTime const &,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,class CTypedPtrList<class CPtrList,class COrder *> &)" ([email protected]@@[email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected][email protected]@@[email protected]@@@@Z),该符号在函数 "public: int __thiscall COrderManager::InitOrderList(void)" ([email protected]@@QAEHXZ) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::GetDispatchCmd(class ATL::CTime const &,class ATL::CTime const &,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,class CTypedPtrList<class CPtrList,class COrder *> &)" ([email protected]@@[email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected][email protected]@@[email protected]@@@@Z),该符号在函数 "public: int __thiscall COrderManager::InitOrderList(void)" ([email protected]@@QAEHXZ) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class ATL::CTime __thiscall CShift::GetStartTime(void)" ([email protected]@@[email protected]@@XZ),该符号在函数 "public: int __thiscall COrderManager::InitOrderList(void)" ([email protected]@@QAEHXZ) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class ATL::CTime __thiscall CShift::GetEndTime(void)" ([email protected]@@[email protected]@@XZ),该符号在函数 "public: int __thiscall COrderManager::InitOrderList(void)" ([email protected]@@QAEHXZ) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::GetCmdRecvCLOB(class ATL::CTime const &,class ATL::CTime const &,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,class CTypedPtrList<class CPtrList,class COrderRecv *> &)" ([email protected]@@[email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected][email protected]@@[email protected]@@@@Z),该符号在函数 "public: int __thiscall COrderManager::InitDynamic(void)" ([email protected]@@QAEHXZ) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::GetCmdNumUse(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,struct SOrderNumRange &)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@[email protected]@@Z),该符号在函数 "public: class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > __thiscall COrderManager::GetNextNum(unsigned int,int)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@[email protected]) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::SaveCmdNumUse(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,class CTypedPtrList<class CPtrList,struct SOrderNumRange *> &)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@[email protected]@@[email protected]@@@@Z),该符号在函数 "public: int __thiscall COrderManager::SaveOrderNumUse(class CTypedPtrList<class CPtrList,struct SOrderNumRange *> &)" ([email protected]@@[email protected]@@[email protected]@@@@Z) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall COrderResult::~COrderResult(void)" ([email protected]@[email protected]),该符号在函数 "public: void * __thiscall COrderResult::`scalar deleting destructor'(unsigned int)" ([email protected]@[email protected]) 中被引用
2>OrderButtonView.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall COrderResult::~COrderResult(void)" ([email protected]@[email protected])
2>OrderRightViewUp.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall COrderResult::~COrderResult(void)" ([email protected]@[email protected])
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall COrderResult::COrderResult(void)" ([email protected]@[email protected]),该符号在函数 "public: void __thiscall COrderManager::CopyCmdResult(class CTypedPtrList<class CPtrList,class COrderResult *> *,class CTypedPtrList<class CPtrList,class COrderResult *> *)" ([email protected]@@[email protected]@@[email protected]@@@[email protected]) 中被引用
2>OrderRightViewUp.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall COrderResult::COrderResult(void)" ([email protected]@[email protected])
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::SaveDispatchCmd(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,class COrder &,int)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@[email protected]@[email protected]),该符号在函数 "public: int __thiscall COrderManager::SaveAll(void)" ([email protected]@@QAEHXZ) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::UpdateDispatchCmdResult(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,int,class COrderResult &)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@[email protected]@@Z),该符号在函数 "public: void __thiscall COrderManager::OnStationAck(struct SOrderAck &,int)" ([email protected]@@[email protected]@[email protected]) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::SaveDispatchOrder(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,class COrder &,int)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@[email protected]@[email protected]),该符号在函数 "public: int __thiscall COrderManager::SaveDispatchOrder(class COrder &,int)" ([email protected]@@[email protected]@[email protected]) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::GetStationName(unsigned int,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > &)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@@Z),该符号在函数 "public: void __thiscall COrderManager::GetRecvPointNameByCode(int,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > &)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@@Z) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::SaveCmdRecv(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,class COrderRecv &,int)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@[email protected]@[email protected]),该符号在函数 "public: int __thiscall COrderManager::SaveRecvCmd(class COrderRecv &,int)" ([email protected]@@[email protected]@[email protected]) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::GetCmdNumRange(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,class CTypedPtrList<class CPtrList,struct SOrderNumRange *> &)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@[email protected]@@[email protected]@@@@Z),该符号在函数 "public: int __thiscall COrderManager::InitOrderNum(void)" ([email protected]@@QAEHXZ) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::GetLocalCmdTemplate(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,class CArray<struct SOrderType,struct SOrderType> &)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@[email protected]@@[email protected]@@@Z),该符号在函数 "public: void __thiscall COrderManager::GetLocalOrderTemplate(void)" ([email protected]@@QAEXXZ) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::GetOrderTypeRecvPoint(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,class CArray<struct SOrderType,struct SOrderType> &)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@[email protected]@@[email protected]@@@Z),该符号在函数 "public: void __thiscall COrderManager::GetOrderTypeRecvPoint(void)" ([email protected]@@QAEXXZ) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::GetOrderRecvPointGroup(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,class CTypedPtrList<class CPtrList,struct SRecvPoint *> &)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@[email protected]@@[email protected]@@@@Z),该符号在函数 "public: void __thiscall COrderManager::GetOrderRecvPointGroup(void)" ([email protected]@@QAEXXZ) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __thiscall COrder::operator=(class COrder const &)" ([email protected]@[email protected]@Z),该符号在函数 "public: void __thiscall COrderManager::OnOrderRefreshMessage(class COrder *)" ([email protected]@@[email protected]@@Z) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::GetOneCmd(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,int,class COrder &)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@[email protected]@@Z),该符号在函数 "public: void __thiscall COrderManager::OnOrderRefreshMessage(class COrder *)" ([email protected]@@[email protected]@@Z) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall COrder::COrder(void)" ([email protected]@[email protected]),该符号在函数 "public: void __thiscall COrderManager::OnOrderRefreshMessage(class COrder *)" ([email protected]@@[email protected]@@Z) 中被引用
2>OrderButtonView.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __thiscall COrder::COrder(void)" ([email protected]@[email protected])
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: virtual __thiscall COrder::~COrder(void)" ([email protected]@[email protected]),该符号在函数 "public: virtual void * __thiscall COrder::`scalar deleting destructor'(unsigned int)" ([email protected]@[email protected]) 中被引用
2>OrderButtonView.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: virtual __thiscall COrder::~COrder(void)" ([email protected]@[email protected])
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::GetDdt(class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > const &,struct SDdt &)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@[email protected]@@Z),该符号在函数 "public: void __thiscall COrderManager::OnRecvOrderRefreshMessage(class COrder *)" ([email protected]@@[email protected]@@Z) 中被引用
2>OrderManager.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall CDataSvr::GetDdt(unsigned int,struct SDdt &)" ([email protected]@@[email protected]@@Z),该符号在函数 "public: int __thiscall COrderManager::GetDdt(unsigned int,struct SDdt &)" ([email protected]@@[email protected]@@Z) 中被引用
2>OrderButtonView.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall COrder::IsSignPass(void)" ([email protected]@@QAEHXZ),该符号在函数 "public: void __thiscall COrderButtonView::OnButtonSend(void)" ([email protected]@@QAEXXZ) 中被引用
2>OrderButtonView.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall COrder::IsNeedSign(void)" ([email protected]@@QAEHXZ),该符号在函数 "public: void __thiscall COrderButtonView::OnButtonSend(void)" ([email protected]@@QAEXXZ) 中被引用
2>OrderLeftView.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall COrder::IsNeedSign(void)" ([email protected]@@QAEHXZ)
2>OrderRightViewUp.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall COrder::IsNeedSign(void)" ([email protected]@@QAEHXZ)
2>OrderButtonView.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall COrder::IsMayEdit(void)" ([email protected]@@QAEHXZ),该符号在函数 "public: void __thiscall COrderButtonView::OnButtonSend(void)" ([email protected]@@QAEXXZ) 中被引用
2>OrderButtonView.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: unsigned int __thiscall COrder::GetOrderState(void)" ([email protected]@@QAEIXZ),该符号在函数 "protected: void __thiscall COrderButtonView::OnSaveOrderSave(void)" ([email protected]@@IAEXXZ) 中被引用
2>OrderLeftView.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: unsigned int __thiscall COrder::GetOrderState(void)" ([email protected]@@QAEIXZ)
2>OrderRightViewUp.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: unsigned int __thiscall COrder::GetOrderState(void)" ([email protected]@@QAEIXZ)
2>OrderLeftView.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > __thiscall COrder::GetSignString(void)" ([email protected]@@[email protected][email protected][email protected]@[email protected]@@@@[email protected]@XZ),该符号在函数 "public: void __thiscall COrderLeftView::SetListItem(class COrder *,class COrderListCtrl &,int,int)" ([email protected]@@[email protected]@[email protected]@[email protected]) 中被引用
2>OrderRightViewUp.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: int __thiscall COrderResult::GetResultRecvState(void)" ([email protected]@@QAEHXZ),该符号在函数 "public: void __thiscall COrderRightView::RefreshOrderRightViewUp(class COrder *)" ([email protected]@@[email protected]@@Z) 中被引用
2>..\..\..\bin\CmdMgr.dll : fatal error LNK1120: 37 个无法解析的外部命令

 

 

由于CmdMgr的解决方案属性没有引用对应的DLL文件。

属性-》引用和框架-》增加引用即可

\..\..\bin\CmdMgr.dll : fatal error LNK1120: 37 个无法解析的外部命令