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 General Discussion » native unicode project compile failed Collapse All
Subject Author Date
kori koria Mar 6, 2007 - 10:50 AM

------ Build started: Project: profuis2, Configuration: Debug Win32 ------

Deleting intermediate files and output files for project ’profuis2’, configuration ’Debug|Win32’.
Compiling...
stdafx.cpp
Prof-UIS multiple monitor support:
external
Automatically linking with Prof-UIS library: ProfUIS264sud.lib
(Professional User Interface Suite)
Prof-UIS native unicode character type support:
disabled (symbol __EXT_MFC_ENABLE_TEMPLATED_CHARS is not defined)
Compiling...
profuis2View.cpp
profuis2Doc.cpp
profuis2.cpp
MainFrm.cpp
ChildFrm.cpp
Generating Code...
Compiling resources...
Linking...
MainFrm.obj : warning LNK4217: locally defined symbol __CrtDbgReport imported in function "public: void __cdecl ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >::Format(wchar_t const *,...)" (?Format@?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@QAAXPB_WZZ)
profuis2.obj : warning LNK4217: locally defined symbol __CrtDbgReport imported in function "public: void __cdecl ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >::Format(wchar_t const *,...)" (?Format@?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@QAAXPB_WZZ)
stdafx.obj : warning LNK4049: locally defined symbol __CrtDbgReport imported
MainFrm.obj : warning LNK4217: locally defined symbol __vscwprintf imported in function "public: static int __cdecl ATL::ChTraitsCRT<wchar_t>::GetFormattedLength(wchar_t const *,char *)" (?GetFormattedLength@?$ChTraitsCRT@_W@ATL@@SAHPB_WPAD@Z)
profuis2.obj : warning LNK4049: locally defined symbol __vscwprintf imported
MainFrm.obj : warning LNK4217: locally defined symbol _vswprintf imported in function "public: static int __cdecl ATL::ChTraitsCRT<wchar_t>::Format(wchar_t *,wchar_t const *,char *)" (?Format@?$ChTraitsCRT@_W@ATL@@SAHPA_WPB_WPAD@Z)
profuis2.obj : warning LNK4049: locally defined symbol _vswprintf imported
profuis2.obj : warning LNK4217: locally defined symbol _swscanf imported in function "public: virtual void __thiscall CExtWS<class CExtADLG<class CExtResDlg>,301>::LoadWindowRect(bool)" (?LoadWindowRect@?$CExtWS@V?$CExtADLG@VCExtResDlg@@@@$0BCN@@@UAEX_N@Z)
profuis2.obj : warning LNK4217: locally defined symbol _wcslen imported in function "public: static int __cdecl ATL::CSimpleStringT<wchar_t,0>::StringLength(wchar_t const *)" (?StringLength@?$CSimpleStringT@_W$0A@@ATL@@SAHPB_W@Z)
profuis2.obj : warning LNK4217: locally defined symbol _memmove imported in function "public: static void __cdecl ATL::CSimpleStringT<wchar_t,0>::CopyCharsOverlapped(wchar_t *,wchar_t const *,int)" (?CopyCharsOverlapped@?$CSimpleStringT@_W$0A@@ATL@@SAXPA_WPB_WH@Z)
stdafx.obj : warning LNK4217: locally defined symbol _free imported in function "public: void __thiscall ATL::CSimpleArray<unsigned short,class ATL::CSimpleArrayEqualHelper<unsigned short> >::RemoveAll(void)" (?RemoveAll@?$CSimpleArray@GV?$CSimpleArrayEqualHelper@G@ATL@@@ATL@@QAEXXZ)
MainFrm.obj : error LNK2001: unresolved external symbol "public: virtual wchar_t const * __thiscall CExtNcFrameImpl::NcFrameImpl_GetScTipText(unsigned int)const " (?NcFrameImpl_GetScTipText@CExtNcFrameImpl@@UBEPB_WI@Z)
profuis2.obj : error LNK2001: unresolved external symbol "public: virtual wchar_t const * __thiscall CExtNcFrameImpl::NcFrameImpl_GetScTipText(unsigned int)const " (?NcFrameImpl_GetScTipText@CExtNcFrameImpl@@UBEPB_WI@Z)
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 "protected: int __thiscall CMainFrame::OnCreate(struct tagCREATESTRUCTW *)" (?OnCreate@CMainFrame@@IAEHPAUtagCREATESTRUCTW@@@Z)
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: int __thiscall CMainFrame::OnCreate(struct tagCREATESTRUCTW *)" (?OnCreate@CMainFrame@@IAEHPAUtagCREATESTRUCTW@@@Z)
MainFrm.obj : error LNK2019: unresolved external symbol "public: bool __thiscall CExtCmdManager::SetBasicCommands(wchar_t const *,unsigned int *,bool)" (?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 "public: bool __thiscall CExtCmdManager::UpdateFromMenu(wchar_t const *,unsigned int,bool,bool)" (?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 "public: bool __thiscall CExtCmdManager::ProfileWndAdd(wchar_t const *,struct HWND__ *)" (?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 "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)
profuis2.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 "public: void __thiscall Cprofuis2App::SetupUiAdvancedOptions(void)" (?SetupUiAdvancedOptions@Cprofuis2App@@QAEXXZ)
profuis2.obj : error LNK2001: unresolved external symbol "public: virtual wchar_t const * __thiscall CExtResizableDialog::OnQuerySkinnedFontParmName(void)const " (?OnQuerySkinnedFontParmName@CExtResizableDialog@@UBEPB_WXZ)
profuis2.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CExtResDlg::Create(wchar_t const *,class CWnd *)" (?Create@CExtResDlg@@UAEHPB_WPAVCWnd@@@Z)
libcmtd.lib(wincrt0.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup
Debug/profuis2.exe : fatal error LNK1120: 11 unresolved externals

Build log was saved at "file://e:\vclession\vc7\solution1\profuis2\Debug\BuildLog.htm"
profuis2 - 13 error(s), 11 warning(s)


---------------------- Done ----------------------

Build: 0 succeeded, 1 failed, 0 skipped

Technical Support Dec 21, 2007 - 4:56 AM

You can compile Prof-UIS with the settings you really need and which corresponds to the settings of your projects.

Vinay aliance Dec 20, 2007 - 4:01 AM

is there any way round it? because i’m using anouther third pary tool and in that i can’t use the settings Treat w_char as Built-In type in the compiler option when Unicode is used

Technical Support Mar 6, 2007 - 12:05 PM

Your application and the library build should use the same settings for the compiler option Treat w_char as Built-In type when Unicode is used. The article Compatibility with Built-In Unicode Character Type may be useful in this regard.