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 » Cannot comple my code in Unicoce Collapse All
Subject Author Date
Saroj Acharya Jul 3, 2004 - 12:09 PM

I Recently purchased Prof_UI V2.25 single user license. The installation and library build for all the files was successful. I then created a sample test application using Prof_UISAppWizard. By default it was using Multi-Byte Character Set and it compiled cand run OK.


However when I tried to compile this project using Unicode character set, I got the following link errors:


I would appreciate if you could look at these error messages and let me know what is going on.


Thanks,


Saroj


_____________________________________________________________________________


Test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CExtPaintManager::PaintDatePickerPushButton(class CDC &,class CRect const &,long,wchar_t const *,bool,bool,bool,bool,class CObject *,long)" (?PaintDatePickerPushButton@CExtPaintManager@@UAEXAAVCDC@@ABVCRect@@JPB_W_N333PAVCObject@@J@Z)


Test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CExtPaintManager::OnSettingChange(unsigned int,wchar_t const *)" (?OnSettingChange@CExtPaintManager@@UAEXIPB_W@Z)


Test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CExtPaintManagerXP::PaintIcon(class CDC &,bool,class ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > &,class CExtCmdIcon *,class CRect const &,class CRect &,bool,bool,bool,int)" (?PaintIcon@CExtPaintManagerXP@@UAEXAAVCDC@@_NAAV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@PAVCExtCmdIcon@@ABVCRect@@AAV6@111H@Z)


Test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CExtPaintManagerXP::PaintTabItem(class CDC &,class CRect &,bool,bool,bool,bool,bool,bool,bool,class CRect const &,class CSize,class CFont *,wchar_t const *,class CExtCmdIcon *,class CObject *,long)" (?PaintTabItem@CExtPaintManagerXP@@UAEXAAVCDC@@AAVCRect@@_N222222ABV3@VCSize@@PAVCFont@@PB_WPAVCExtCmdIcon@@PAVCObject@@J@Z)


Test2.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall CExtCmdManager::ProfileSetup(wchar_t const *,struct HWND__ *,class CExtCmdProfile *)" (__imp_?ProfileSetup@CExtCmdManager@@QAE_NPB_WPAUHWND__@@PAVCExtCmdProfile@@@Z) referenced in function "public: void __thiscall CTest2App::SetupUiAdvancedOptions(void)" (?SetupUiAdvancedOptions@CTest2App@@QAEXXZ)


Test2.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CExtWS<class CExtADLG<class CDialog>,301>::EnableSaveRestore(wchar_t const *,wchar_t const *,bool)" (?EnableSaveRestore@?$CExtWS@V?$CExtADLG@VCDialog@@@@$0BCN@@@UAEXPB_W0_N@Z)


Test2.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual void __thiscall CExtWS<class CExtADLG<class CDialog>,301>::EnableSaveRestore(wchar_t const *,wchar_t const *,bool)" (__imp_?EnableSaveRestore@?$CExtWS@V?$CExtADLG@VCDialog@@@@$0BCN@@@UAEXPB_W0_N@Z) referenced in function "protected: virtual int __thiscall CAboutDlg::OnInitDialog(void)" (?OnInitDialog@CAboutDlg@@MAEHXZ)


MainFrm.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall CExtCmdManager::SerializeState(wchar_t const *,wchar_t const *,wchar_t const *,bool)" (__imp_?SerializeState@CExtCmdManager@@QAE_NPB_W00_N@Z) referenced in function "protected: int __thiscall CMainFrame::OnCreate(struct tagCREATESTRUCTW *)" (?OnCreate@CMainFrame@@IAEHPAUtagCREATESTRUCTW@@@Z)


MainFrm.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static bool __cdecl CExtControlBar::ProfileBarStateLoad(class CFrameWnd *,wchar_t const *,wchar_t const *,wchar_t const *,struct tagWINDOWPLACEMENT *)" (__imp_?ProfileBarStateLoad@CExtControlBar@@SA_NPAVCFrameWnd@@PB_W11PAUtagWINDOWPLACEMENT@@@Z) referenced in function "protected: int __thiscall CMainFrame::OnCreate(struct tagCREATESTRUCTW *)" (?OnCreate@CMainFrame@@IAEHPAUtagCREATESTRUCTW@@@Z)


MainFrm.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall CExtCmdManager::SetBasicCommands(wchar_t const *,unsigned int *,bool)" (__imp_?SetBasicCommands@CExtCmdManager@@QAE_NPB_WPAI_N@Z) referenced in function "protected: int __thiscall CMainFrame::OnCreate(struct tagCREATESTRUCTW *)" (?OnCreate@CMainFrame@@IAEHPAUtagCREATESTRUCTW@@@Z)


MainFrm.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall CExtCmdManager::UpdateFromMenu(wchar_t const *,unsigned int,bool,bool)" (__imp_?UpdateFromMenu@CExtCmdManager@@QAE_NPB_WI_N1@Z) referenced in function "protected: int __thiscall CMainFrame::OnCreate(struct tagCREATESTRUCTW *)" (?OnCreate@CMainFrame@@IAEHPAUtagCREATESTRUCTW@@@Z)


MainFrm.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __thiscall CExtCmdManager::ProfileWndAdd(wchar_t const *,struct HWND__ *)" (__imp_?ProfileWndAdd@CExtCmdManager@@QAE_NPB_WPAUHWND__@@@Z) referenced in function "protected: int __thiscall CMainFrame::OnCreate(struct tagCREATESTRUCTW *)" (?OnCreate@CMainFrame@@IAEHPAUtagCREATESTRUCTW@@@Z)


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


 


 

Technical Support Jul 5, 2004 - 8:10 AM

Dear Saroj,

There is a small bug in the declaration of the CExtPaintManager::PaintDatePickerPushButton method: the strCaption parameter should have __EXT_MFC_SAFE_LPCTSTR type instead of LPCTSTR. Thank you for your help.