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 » Linking problem with Prof-UI 2.62 Collapse All
Subject Author Date
Martin Hignett Dec 7, 2006 - 6:03 AM

I’ve recently upgraded from Prof-UI 2.61 to 2.62 and I am now having link problems. It looks like the linker is finding a 2.61 version of the library but I’ve deleted all .lib and .obj files and built everything again from scratch.

We are building a Unicode debug build with VS 2005. I have included the output from the linker below

1>Linking...
1> Creating library ..\..\Projects\Unicode Debug/CC32.lib and object ..\..\Projects\Unicode Debug/CC32.exp
1>PROPEDIT.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CExtComboBoxBase::OnQueryMaxTipWidth(unsigned short const *)" (?OnQueryMaxTipWidth@CExtComboBoxBase@@MAEHPBG@Z)
1>BoxStyleCombo.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CExtComboBoxBase::OnQueryMaxTipWidth(unsigned short const *)" (?OnQueryMaxTipWidth@CExtComboBoxBase@@MAEHPBG@Z)
1>CHARTLIN.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CExtComboBoxBase::OnQueryMaxTipWidth(unsigned short const *)" (?OnQueryMaxTipWidth@CExtComboBoxBase@@MAEHPBG@Z)
1>LINETERM.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CExtComboBoxBase::OnQueryMaxTipWidth(unsigned short const *)" (?OnQueryMaxTipWidth@CExtComboBoxBase@@MAEHPBG@Z)
1>MoveLineCommand.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CExtComboBoxBase::OnQueryMaxTipWidth(unsigned short const *)" (?OnQueryMaxTipWidth@CExtComboBoxBase@@MAEHPBG@Z)
1>PROPEDIT.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CExtComboBoxBase::OnFilterPopupListSyncContents(class ATL::CStringT<unsigned short,class StrTraitMFC_DLL<unsigned short,class ATL::ChTraitsCRT<unsigned short> > > &)" (?OnFilterPopupListSyncContents@CExtComboBoxBase@@MAEXAAV?$CStringT@GV?$StrTraitMFC_DLL@GV?$ChTraitsCRT@G@ATL@@@@@ATL@@@Z)
1>BoxStyleCombo.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CExtComboBoxBase::OnFilterPopupListSyncContents(class ATL::CStringT<unsigned short,class StrTraitMFC_DLL<unsigned short,class ATL::ChTraitsCRT<unsigned short> > > &)" (?OnFilterPopupListSyncContents@CExtComboBoxBase@@MAEXAAV?$CStringT@GV?$StrTraitMFC_DLL@GV?$ChTraitsCRT@G@ATL@@@@@ATL@@@Z)
1>CHARTLIN.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CExtComboBoxBase::OnFilterPopupListSyncContents(class ATL::CStringT<unsigned short,class StrTraitMFC_DLL<unsigned short,class ATL::ChTraitsCRT<unsigned short> > > &)" (?OnFilterPopupListSyncContents@CExtComboBoxBase@@MAEXAAV?$CStringT@GV?$StrTraitMFC_DLL@GV?$ChTraitsCRT@G@ATL@@@@@ATL@@@Z)
1>LINETERM.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CExtComboBoxBase::OnFilterPopupListSyncContents(class ATL::CStringT<unsigned short,class StrTraitMFC_DLL<unsigned short,class ATL::ChTraitsCRT<unsigned short> > > &)" (?OnFilterPopupListSyncContents@CExtComboBoxBase@@MAEXAAV?$CStringT@GV?$StrTraitMFC_DLL@GV?$ChTraitsCRT@G@ATL@@@@@ATL@@@Z)
1>MoveLineCommand.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CExtComboBoxBase::OnFilterPopupListSyncContents(class ATL::CStringT<unsigned short,class StrTraitMFC_DLL<unsigned short,class ATL::ChTraitsCRT<unsigned short> > > &)" (?OnFilterPopupListSyncContents@CExtComboBoxBase@@MAEXAAV?$CStringT@GV?$StrTraitMFC_DLL@GV?$ChTraitsCRT@G@ATL@@@@@ATL@@@Z)
1>CSTATBAR.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CExtStatusControlBar::OnAdvancedPopupMenuTipWndDisplay(class CExtPopupMenuTipWnd &,struct tagRECT const &,unsigned short const *)const " (?OnAdvancedPopupMenuTipWndDisplay@CExtStatusControlBar@@MBEXAAVCExtPopupMenuTipWnd@@ABUtagRECT@@PBG@Z)
1>CSTATBAR.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CExtStatusControlBar::OnPaintPane(class CDC &,int,class CRect const &,unsigned long,struct HICON__ *,unsigned short const *,unsigned int)" (?OnPaintPane@CExtStatusControlBar@@MAEXAAVCDC@@HABVCRect@@KPAUHICON__@@PBGI@Z)
1>..\..\Projects\Unicode Debug/CC32.dll : fatal error LNK1120: 4 unresolved externals
1>Build log was saved at "file://c:\Development\Trunk\Projects\Cc32\CCUnicodeDebug\BuildLog.htm"

Any ideas on what might be going wrong?

Martin Hignett Dec 7, 2006 - 9:31 AM

Sorted! Turned out to be inconsistent use of the "Treat wchar_t as inbuilt type" option. I don’t understand how it was building with 2.61 now...