I use it in .net 2003 and found that when i create menu and toolbar ,
it said:
kantianxia error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CXTPMenuBar * __thiscall CXTPCommandBars::SetMenu(class ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,unsigned int)" ( mailto:__imp_?SetMenu@CXTPCommandBars@@QAEPAVCXTPMenuBar@@V?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@I@Z - __imp_?SetMenu@CXTPCommandBars@@QAEPAVCXTPMenuBar@@V?$CStrin gT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@I@Z ) referenced in function "protected: int __thiscall CMainFrame::OnCreate(struct tagCREATESTRUCTW *)" ( mailto:?OnCreate@CMainFrame@@IAEHPAUtagCREATESTRUCTW@@@Z - ?OnCreate@CMainFrame@@IAEHPAUtagCREATESTRUCTW@@@Z )
kantianxia error LNK2019: unresolved external symbol "__declspec(dllimport) public: class CXTPToolBar * __thiscall CXTPCommandBars::Add(class ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,enum XTPBarPosition,struct CRuntimeClass *)" ( mailto:__imp_?Add@CXTPCommandBars@@QAEPAVCXTPToolBar@@V?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@W4XTPBarPosition@@PAUCRuntimeClass@@@Z - __imp_?Add@CXTPCommandBars@@QAEPAVCXTPToolBar@@V?$CStringT@_ WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@W4XTPBa rPosition@@PAUCRuntimeClass@@@Z ) referenced in function "protected: int __thiscall CMainFrame::OnCreate(struct tagCREATESTRUCTW *)" ( mailto:?OnCreate@CMainFrame@@IAEHPAUtagCREATESTRUCTW@@@Z - ?OnCreate@CMainFrame@@IAEHPAUtagCREATESTRUCTW@@@Z )
What should i do?
|