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 » UNICODE build problem with 2.51 Collapse All
Subject Author Date
George Ross Feb 12, 2006 - 8:48 AM

Hi


 


when try to compile a project (which compiles and links fine when MCBS) i got a lot of linker errors. No matter if it is debug or release.


I have rebuild all the profuis libraries both static and dll. Behaviour is the same with dll and static lib.


****************this is to see what profuis version i use************


WINVER not defined. Defaulting to 0x0501 (Windows XP and Windows .NET Server)


Prof-UIS multiple monitor support:


external


Automatically linking with Prof-UIS library: ProfUIS251su.lib


(Professional User Interface Suite)


Prof-UIS native unicode character type support:


disabled (symbol __EXT_MFC_ENABLE_TEMPLATED_CHARS is not defined)


*********************************


these are the linker errors


DlgPanelQSO.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CExtControlBar::OnGetBarCaptionText(enum CExtControlBar::e_bar_caption_text_t,class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > &)const " (?OnGetBarCaptionText@CExtControlBar@@UBEXW4e_bar_caption_text_t@1@AAV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z)


DlgPanelQSO.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CExtControlBar::OnAdvancedPopupMenuTipWndDisplay(class CExtPopupMenuTipWnd &,struct tagRECT const &,wchar_t const *)const " (?OnAdvancedPopupMenuTipWndDisplay@CExtControlBar@@MBEXAAVCExtPopupMenuTipWnd@@ABUtagRECT@@PB_W@Z)


DlgPanelQSO.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CExtControlBar::Create(wchar_t const *,class CWnd *,unsigned int,unsigned long)" (?Create@CExtControlBar@@UAEHPB_WPAVCWnd@@IK@Z)


DlgPanelQSO.obj : error LNK2019: unresolved external symbol "public: int __thiscall CExtToolControlBar::LoadToolBar(wchar_t const *,unsigned long)" (?LoadToolBar@CExtToolControlBar@@QAEHPB_WK@Z) referenced in function "public: int __thiscall CExtToolControlBar::LoadToolBar(unsigned int,unsigned long)" (?LoadToolBar@CExtToolControlBar@@QAEHIK@Z)


MainFrm.obj : error LNK2001: unresolved external symbol "public: int __thiscall CExtToolControlBar::LoadToolBar(wchar_t const *,unsigned long)" (?LoadToolBar@CExtToolControlBar@@QAEHPB_WK@Z)


DlgPanelQSO.obj : error LNK2001: unresolved external symbol "public: virtual wchar_t const * __thiscall CExtResizableDialog::OnQuerySkinnedFontParmName(void)const " (?OnQuerySkinnedFontParmName@CExtResizableDialog@@UBEPB_WXZ)


DlgPanelQSO.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CExtResDlg::Create(wchar_t const *,class CWnd *)" (?Create@CExtResDlg@@UAEHPB_WPAVCWnd@@@Z)


MainFrm.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CExtTabWnd::OnAdvancedPopupMenuTipWndDisplay(class CExtPopupMenuTipWnd &,struct tagRECT const &,wchar_t const *)const " (?OnAdvancedPopupMenuTipWndDisplay@CExtTabWnd@@MBEXAAVCExtPopupMenuTipWnd@@ABUtagRECT@@PB_W@Z)


MainFrm.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CExtTabWhidbeyWnd::OnTabWndDrawItem(class CDC &,class CRect &,long,class CExtTabWnd::TAB_ITEM_INFO *,bool,bool,bool,bool,bool,bool,bool,class CRect const &,class CSize,class CFont *,wchar_t const *,class CExtCmdIcon *)" (?OnTabWndDrawItem@CExtTabWhidbeyWnd@@MAEXAAVCDC@@AAVCRect@@JPAVTAB_ITEM_INFO@CExtTabWnd@@_N333333ABV3@VCSize@@PAVCFont@@PB_WPAVCExtCmdIcon@@@Z)


MainFrm.obj : error LNK2001: unresolved external symbol "protected: virtual wchar_t const * __thiscall CExtTabWnd::OnTabWndQueryItemTooltipText(class CExtTabWnd::TAB_ITEM_INFO const *)const " (?OnTabWndQueryItemTooltipText@CExtTabWnd@@MBEPB_WPBVTAB_ITEM_INFO@1@@Z)


MainFrm.obj : error LNK2019: unresolved external symbol "public: class CExtTabWnd::TAB_ITEM_INFO * __thiscall CExtTabWnd::ItemInsert(wchar_t const *,struct HICON__ *,bool,unsigned long,long,long,bool)" (?ItemInsert@CExtTabWnd@@QAEPAVTAB_ITEM_INFO@1@PB_WPAUHICON__@@_NKJJ2@Z) referenced in function "protected: virtual void __thiscall CExtTMWI<class CExtTabWhidbeyWnd>::_SyncAllItems(void)" (?_SyncAllItems@?$CExtTMWI@VCExtTabWhidbeyWnd@@@@MAEXXZ)


MainFrm.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CExtCmdManager::SerializeState(wchar_t const *,wchar_t const *,wchar_t const *,bool,struct HKEY__ *,bool)" (?SerializeState@CExtCmdManager@@QAE_NPB_W00_NPAUHKEY__@@1@Z) referenced in function "public: virtual int __thiscall CMainFrame::DestroyWindow(void)" (?DestroyWindow@CMainFrame@@UAEHXZ)


MainFrm.obj : error LNK2019: unresolved external symbol "public: static bool __cdecl CExtControlBar::ProfileBarStateSave(class CFrameWnd *,wchar_t const *,wchar_t const *,wchar_t const *,struct tagWINDOWPLACEMENT *,bool,bool,struct HKEY__ *,bool)" (?ProfileBarStateSave@CExtControlBar@@SA_NPAVCFrameWnd@@PB_W11PAUtagWINDOWPLACEMENT@@_N3PAUHKEY__@@3@Z) referenced in function "public: virtual int __thiscall CMainFrame::DestroyWindow(void)" (?DestroyWindow@CMainFrame@@UAEHXZ)


MainFrm.obj : error LNK2019: unresolved external symbol "public: static bool __cdecl CExtControlBar::ProfileBarStateLoad(class CFrameWnd *,wchar_t const *,wchar_t const *,wchar_t const *,struct tagWINDOWPLACEMENT *,bool,bool,struct HKEY__ *,bool)" (?ProfileBarStateLoad@CExtControlBar@@SA_NPAVCFrameWnd@@PB_W11PAUtagWINDOWPLACEMENT@@_N3PAUHKEY__@@3@Z) referenced in function "protected: void __thiscall CMainFrame::OpenProfile(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >)" (?OpenProfile@CMainFrame@@IAEXV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z)


MainFrm.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CExtCmdManager::UpdateFromToolBar(wchar_t const *,unsigned int,unsigned int * *,int *,bool,bool,unsigned long)" (?UpdateFromToolBar@CExtCmdManager@@QAE_NPB_WIPAPAIPAH_N3K@Z) referenced in function "protected: void __thiscall CMainFrame::OpenProfile(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >)" (?OpenProfile@CMainFrame@@IAEXV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z)


MainFrm.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CExtCmdManager::UpdateFromMenu(wchar_t const *,unsigned int,bool,bool)" (?UpdateFromMenu@CExtCmdManager@@QAE_NPB_WI_N1@Z) referenced in function "protected: void __thiscall CMainFrame::OpenProfile(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >)" (?OpenProfile@CMainFrame@@IAEXV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z)


MainFrm.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CExtCmdManager::ProfileSetup(wchar_t const *,struct HWND__ *,class CExtCmdProfile *)" (?ProfileSetup@CExtCmdManager@@QAE_NPB_WPAUHWND__@@PAVCExtCmdProfile@@@Z) referenced in function "protected: void __thiscall CMainFrame::OpenProfile(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >)" (?OpenProfile@CMainFrame@@IAEXV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z)


MainFrm.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CExtCmdManager::CmdSetIcon(wchar_t const *,unsigned int,struct HICON__ *,bool)" (?CmdSetIcon@CExtCmdManager@@QAE_NPB_WIPAUHICON__@@_N@Z) referenced in function "protected: int __thiscall CMainFrame::OnCreate(struct tagCREATESTRUCTW *)" (?OnCreate@CMainFrame@@IAEHPAUtagCREATESTRUCTW@@@Z)


MainFrm.obj : error LNK2019: unresolved external symbol "public: wchar_t const * __thiscall CExtCmdManager::ProfileNameFromWnd(struct HWND__ *)" (?ProfileNameFromWnd@CExtCmdManager@@QAEPB_WPAUHWND__@@@Z) referenced in function "protected: int __thiscall CMainFrame::OnCreate(struct tagCREATESTRUCTW *)" (?OnCreate@CMainFrame@@IAEHPAUtagCREATESTRUCTW@@@Z)


MapProperties.obj : error LNK2001: unresolved external symbol "public: virtual class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > __thiscall CExtPropertyValue::BuildCompoundTextActive(void)const " (?BuildCompoundTextActive@CExtPropertyValue@@UBE?AV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@XZ)


MapProperties.obj : error LNK2001: unresolved external symbol "public: virtual class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > __thiscall CExtPropertyValue::BuildCompoundTextDefault(void)const " (?BuildCompoundTextDefault@CExtPropertyValue@@UBE?AV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@XZ)


MapProperties.obj : error LNK2001: unresolved external symbol "public: virtual class CExtPropertyItem * __thiscall CExtPropertyItem::ItemGetByName(wchar_t const *,int &,struct CRuntimeClass *)" (?ItemGetByName@CExtPropertyItem@@UAEPAV1@PB_WAAHPAUCRuntimeClass@@@Z)


MapProperties.obj : error LNK2001: unresolved external symbol "public: virtual wchar_t const * __thiscall CExtPropertyItem::DescriptionGet(void)const " (?DescriptionGet@CExtPropertyItem@@UBEPB_WXZ)


MapProperties.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CExtPropertyItem::NameSet(wchar_t const *)" (?NameSet@CExtPropertyItem@@UAEXPB_W@Z)


MapProperties.obj : error LNK2001: unresolved external symbol "public: virtual wchar_t const * __thiscall CExtPropertyItem::NameGet(void)const " (?NameGet@CExtPropertyItem@@UBEPB_WXZ)


MapProperties.obj : error LNK2019: unresolved external symbol "public: virtual void __thiscall CExtPropertyItem::DescriptionSet(wchar_t const *)" (?DescriptionSet@CExtPropertyItem@@UAEXPB_W@Z) referenced in function "public: __thiscall MAPPROPERTIES::CMapProperty_VectorRoad::CMapProperty_VectorRoad(class ShapeFiles::ShapeArc *,class ViewMap *)" (??0CMapProperty_VectorRoad@MAPPROPERTIES@@QAE@PAVShapeArc@ShapeFiles@@PAVViewMap@@@Z)


MapProperties.obj : error LNK2019: unresolved external symbol "public: __thiscall CExtPropertyValue::CExtPropertyValue(wchar_t const *,class CExtGridCell *,class CExtGridCell *,bool,bool)" (??0CExtPropertyValue@@QAE@PB_WPAVCExtGridCell@@1_N2@Z) referenced in function "public: __thiscall MAPPROPERTIES::CMapProperty_VectorRoad::CMapProperty_VectorRoad(class ShapeFiles::ShapeArc *,class ViewMap *)" (??0CMapProperty_VectorRoad@MAPPROPERTIES@@QAE@PAVShapeArc@ShapeFiles@@PAVViewMap@@@Z)


MapProperties.obj : error LNK2019: unresolved external symbol "public: long __thiscall CExtGridCellComboBox::InsertString(wchar_t const *,unsigned long,long)" (?InsertString@CExtGridCellComboBox@@QAEJPB_WKJ@Z) referenced in function "public: __thiscall MAPPROPERTIES::CMapProperty_Label::CMapProperty_Label(class ShapeFiles::ShapeArc *,class ViewMap *)" (??0CMapProperty_Label@MAPPROPERTIES@@QAE@PAVShapeArc@ShapeFiles@@PAVViewMap@@@Z)


MapProperties.obj : error LNK2019: unresolved external symbol "public: __thiscall CExtPropertyStore::CExtPropertyStore(wchar_t const *)" (??0CExtPropertyStore@@QAE@PB_W@Z) referenced in function "public: class CExtPropertyStore * __thiscall MAPPROPERTIES::MapProperties::GetPropertyStore(void)" (?GetPropertyStore@MapProperties@MAPPROPERTIES@@QAEPAVCExtPropertyStore@@XZ)


MapProperties.obj : error LNK2019: unresolved external symbol "public: __thiscall CExtPropertyCategory::CExtPropertyCategory(wchar_t const *)" (??0CExtPropertyCategory@@QAE@PB_W@Z) referenced in function "public: virtual void __thiscall MAPPROPERTIES::MainLayerMapProperties::IniProperties(class Maps *,class MapDetailsBase *,wchar_t const *)" (?IniProperties@MainLayerMapProperties@MAPPROPERTIES@@UAEXPAVMaps@@PAVMapDetailsBase@@PB_W@Z)


ViewPacketFrame.obj : error LNK2019: unresolved external symbol "public: int __thiscall CExtTabPageContainerWnd::PageInsert(class CWnd *,wchar_t const *,struct HICON__ *,bool,int,bool)" (?PageInsert@CExtTabPageContainerWnd@@QAEHPAVCWnd@@PB_WPAUHICON__@@_NH3@Z) referenced in function "public: int __thiscall ViewPacketFrame::OnCreate(struct tagCREATESTRUCTW *)" (?OnCreate@ViewPacketFrame@@QAEHPAUtagCREATESTRUCTW@@@Z)


Release/AGWDXCenter.exe : fatal error LNK1120: 30 unresolved externals


 


 


Thanks in advance for any help


George

Technical Support Feb 12, 2006 - 11:33 AM

The error output looks like you are trying to link your project with Prof-UIS 2.20 instead of 2.51. There must be some error like an invalid library path in the library folders list of the Visual Studio settings. Did you manage to build UNICODE versions of Prof-UIS samples?