Hi,
I’m trying to compile this scripting example, but have some problems with that.
First I can not register the ProfUIS226md.dll and ProfAuto226md.dll
Getting RegSvr32 error: LoadLibrary(...)failed - The specified module can not be found.
And during the linkage I get:
1>Linking...
1>MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall CExtCustomizeSite::GetToolbarCustomizeInfo(class CExtToolControlBar *,class CExtCustomizeCmdTreeNode * *,class CExtCustomizeCmdTreeNode * *,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > *,bool *)" (?GetToolbarCustomizeInfo@CExtCustomizeSite@@UAE_NPAVCExtToolControlBar@@PAPAVCExtCustomizeCmdTreeNode@@1PAV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@PA_N@Z)
1>MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > __thiscall CExtCustomizeSite::OnFormatCmdAccelText(class CExtCustomizeSite::CCmdKeyInfo const &)" (?OnFormatCmdAccelText@CExtCustomizeSite@@UAE?AV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@ABVCCmdKeyInfo@1@@Z)
1>MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CAutoCustomizeSite::OnTextFieldInplaceTextGet(class CExtBarTextFieldButton const *,class CExtCustomizeCmdTreeNode const *,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > &)" (?OnTextFieldInplaceTextGet@CAutoCustomizeSite@@UAEXPBVCExtBarTextFieldButton@@PBVCExtCustomizeCmdTreeNode@@AAV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@@Z)
1>MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CAutoCustomizeSite::OnTextFieldInplaceTextSet(class CExtBarTextFieldButton *,class CExtCustomizeCmdTreeNode *,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > &,char const *)" (?OnTextFieldInplaceTextSet@CAutoCustomizeSite@@UAEXPAVCExtBarTextFieldButton@@PAVCExtCustomizeCmdTreeNode@@AAV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@PBD@Z)
1>MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall CExtCustomizeSite::OnColorItemGetBtnTextDefault(class CExtBarColorButton *,class CExtCustomizeCmdTreeNode *,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > &)" (?OnColorItemGetBtnTextDefault@CExtCustomizeSite@@UAE_NPAVCExtBarColorButton@@PAVCExtCustomizeCmdTreeNode@@AAV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@@Z)
1>MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall CExtCustomizeSite::OnColorItemGetBtnTextCustom(class CExtBarColorButton *,class CExtCustomizeCmdTreeNode *,class ATL::CStringT<char,class StrTraitMFC_DLL<char,class ATL::ChTraitsCRT<char> > > &)" (?OnColorItemGetBtnTextCustom@CExtCustomizeSite@@UAE_NPAVCExtBarColorButton@@PAVCExtCustomizeCmdTreeNode@@AAV?$CStringT@DV?$StrTraitMFC_DLL@DV?$ChTraitsCRT@D@ATL@@@@@ATL@@@Z)
1>.\Debug/ProfUISTestScripting.exe : fatal error LNK1120: 6 unresolved externals
- Could you pleace tell me what is wrong, or fix the example to current version ProfUis283.
Thanks in advance.