Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Scripting Support in Prof-UIS Applications example problem. Collapse All
Subject Author Date
Thomas Roeder Oct 21, 2008 - 4:00 PM

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.


 

Technical Support Oct 23, 2008 - 2:09 PM

It looks like you are using Visual Studio .NET or later Visual Studio version and you are trying to compile a sample project using one compiler settings when Prof-UIS library was compiled with other compiler settings. Such error can occur if you have changed the Native wchar_t usage option. Please make this option in the settings of the test project equal to the same option in the Prof-UIS library project.