|
From: Ahmed M. <amu...@gm...> - 2005-05-31 18:08:51
|
Hi All! Im working with ICU 3.2, on Windows XP, using MS VC++ 7. In an MFC application, I've made a LEFontInstance-derived class, and im using ParagraphLayout APIs. When I try to build, I get the following linker errors: error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall icu_3_2::ParagraphLayout::ParagraphLayout(wchar_t const * const,int,class icu_3_2::FontRuns const *,class icu_3_2::ValueRuns const *,class icu_3_2::ValueRuns const *,class icu_3_2::LocaleRuns const *,unsigned char,signed char,enum icu_3_2::LEErrorCode &)" (__imp_??0ParagraphLayout@icu_3_2@@QAE@QB_WHPBVFontRuns@1@PBVValueRuns@1@2P= BVLocaleRuns@1@ECAAW4LEErrorCode@1@@Z) referenced in function "protected: void __thiscall CChildView::OnPaint(void)" (?OnPaint@CChildView@@IAEXXZ) FSFontInstance.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall icu_3_2::LEFontInstance::mapCharsToGlyphs(wchar_t const * const,int,int,signed char,class icu_3_2::LECharMapper const *,class icu_3_2::LEGlyphStorage &)const " (?mapCharsToGlyphs@LEFontInstance@icu_3_2@@UBEXQB_WHHCPBVLECharMapper@2@AAV= LEGlyphStorage@2@@Z) FSFontInstance.obj : error LNK2001: unresolved external symbol "public: virtual class icu_3_2::LEFontInstance const * __thiscall icu_3_2::LEFontInstance::getSubFont(wchar_t const * const,int *,int,int,enum icu_3_2::LEErrorCode &)const " (?getSubFont@LEFontInstance@icu_3_2@@UBEPBV12@QB_WPAHHHAAW4LEErrorCode@2@@Z= ) Debug/wintest7.exe : fatal error LNK1120: 3 unresolved externals I've linked all the ICU libraries... Besides, when i use the same code in a console application, it builds and works just fine... Can you please help? Thanks, Mugheera |