link problem Fox1.7.19 vs. 1.7.13 (related to FXDCWindow and FXComposeContext)

View: New views
3 Messages — Rating Filter:   Alert me  

link problem Fox1.7.19 vs. 1.7.13 (related to FXDCWindow and FXComposeContext)

by pof-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,
I'm trying to move my app from Fox1.7.13 to Fox1.7.19.
It compiles fine, but not the link phase.
The linker complains with FXDCWindow and FXComposeContext.
Any idea on how I could solve this ?
P.

1>foxd-1.7.lib(FXDCWindow.obj) : error LNK2019: symbole externe non
résolu __imp__GradientFill@24 référencé dans la fonction "public:
virtual void __thiscall
FX::FXDCWindow::fillVerticalGradient(int,int,int,int,unsigned
int,unsigned int)" (?fillVerticalGradient@FXDCWindow@FX@@UAEXHHHHII@Z)
1>foxd-1.7.lib(FXComposeContext.obj) : error LNK2019: symbole externe
non résolu _ImmReleaseContext@8 référencé dans la fonction "public: void
__thiscall FX::FXComposeContext::setFont(class FX::FXFont *)"
(?setFont@FXComposeContext@FX@@QAEXPAVFXFont@2@@Z)
1>foxd-1.7.lib(FXComposeContext.obj) : error LNK2019: symbole externe
non résolu _ImmSetCompositionFontW@8 référencé dans la fonction "public:
void __thiscall FX::FXComposeContext::setFont(class FX::FXFont *)"
(?setFont@FXComposeContext@FX@@QAEXPAVFXFont@2@@Z)
1>foxd-1.7.lib(FXComposeContext.obj) : error LNK2019: symbole externe
non résolu _ImmGetContext@4 référencé dans la fonction "public: void
__thiscall FX::FXComposeContext::setFont(class FX::FXFont *)"
(?setFont@FXComposeContext@FX@@QAEXPAVFXFont@2@@Z)
1>foxd-1.7.lib(FXComposeContext.obj) : error LNK2019: symbole externe
non résolu _ImmSetCompositionWindow@8 référencé dans la fonction
"public: void __thiscall FX::FXComposeContext::setSpot(int,int)"
(?setSpot@FXComposeContext@FX@@QAEXHH@Z)
1>foxd-1.7.lib(FXComposeContext.obj) : error LNK2019: symbole externe
non résolu _ImmGetCompositionStringW@16 référencé dans la fonction
"public: class FX::FXString __thiscall
FX::FXComposeContext::translateEvent(struct tagMSG &)"
(?translateEvent@FXComposeContext@FX@@QAE?AVFXString@2@AAUtagMSG@@@Z)
1>Debug/FXPPlot.exe : fatal error LNK1120: 6 externes non résolus

------------------------------------------------------------------------------
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users

Re: link problem Fox1.7.19 vs. 1.7.13 (related to FXDCWindow and FXComposeContext)

by Noah Zigas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I once had a problem like this also.  I don't know what changed exactly, but there is now a dependency on msimg32.lib and imm32.lib that either wasn't there before or was included in the fox lib build project.

Just add these libraries to your link settings and you should be good to go.

You also may need to add ws2_32.lib, for the networking stack.

Cheers,
Noah


On Thu, Jul 2, 2009 at 2:41 PM, pof <jd379252@...> wrote:
Hi all,
I'm trying to move my app from Fox1.7.13 to Fox1.7.19.
It compiles fine, but not the link phase.
The linker complains with FXDCWindow and FXComposeContext.
Any idea on how I could solve this ?
P.

1>foxd-1.7.lib(FXDCWindow.obj) : error LNK2019: symbole externe non
résolu __imp__GradientFill@24 référencé dans la fonction "public:
virtual void __thiscall
FX::FXDCWindow::fillVerticalGradient(int,int,int,int,unsigned
int,unsigned int)" (?fillVerticalGradient@FXDCWindow@FX@@UAEXHHHHII@Z)
1>foxd-1.7.lib(FXComposeContext.obj) : error LNK2019: symbole externe
non résolu _ImmReleaseContext@8 référencé dans la fonction "public: void
__thiscall FX::FXComposeContext::setFont(class FX::FXFont *)"
(?setFont@FXComposeContext@FX@@QAEXPAVFXFont@2@@Z)
1>foxd-1.7.lib(FXComposeContext.obj) : error LNK2019: symbole externe
non résolu _ImmSetCompositionFontW@8 référencé dans la fonction "public:
void __thiscall FX::FXComposeContext::setFont(class FX::FXFont *)"
(?setFont@FXComposeContext@FX@@QAEXPAVFXFont@2@@Z)
1>foxd-1.7.lib(FXComposeContext.obj) : error LNK2019: symbole externe
non résolu _ImmGetContext@4 référencé dans la fonction "public: void
__thiscall FX::FXComposeContext::setFont(class FX::FXFont *)"
(?setFont@FXComposeContext@FX@@QAEXPAVFXFont@2@@Z)
1>foxd-1.7.lib(FXComposeContext.obj) : error LNK2019: symbole externe
non résolu _ImmSetCompositionWindow@8 référencé dans la fonction
"public: void __thiscall FX::FXComposeContext::setSpot(int,int)"
(?setSpot@FXComposeContext@FX@@QAEXHH@Z)
1>foxd-1.7.lib(FXComposeContext.obj) : error LNK2019: symbole externe
non résolu _ImmGetCompositionStringW@16 référencé dans la fonction
"public: class FX::FXString __thiscall
FX::FXComposeContext::translateEvent(struct tagMSG &)"
(?translateEvent@FXComposeContext@FX@@QAE?AVFXString@2@AAUtagMSG@@@Z)
1>Debug/FXPPlot.exe : fatal error LNK1120: 6 externes non résolus

------------------------------------------------------------------------------
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users


------------------------------------------------------------------------------

_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users

Re: link problem Fox1.7.19 vs. 1.7.13 (related to FXDCWindow and FXComposeContext)

by pof-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

yes,
this was causing the problem.
Now it links fine.
Thanks for the tip
Cheers

Noah Zigas a écrit :

> Hi,
>
> I once had a problem like this also.  I don't know what changed
> exactly, but there is now a dependency on msimg32.lib and imm32.lib
> that either wasn't there before or was included in the fox lib build
> project.
>
> Just add these libraries to your link settings and you should be good
> to go.
>
> You also may need to add ws2_32.lib, for the networking stack.
>
> Cheers,
> Noah
>
>
> On Thu, Jul 2, 2009 at 2:41 PM, pof <jd379252@...
> <mailto:jd379252@...>> wrote:
>
>     Hi all,
>     I'm trying to move my app from Fox1.7.13 to Fox1.7.19.
>     It compiles fine, but not the link phase.
>     The linker complains with FXDCWindow and FXComposeContext.
>     Any idea on how I could solve this ?
>     P.
>
>     1>foxd-1.7.lib(FXDCWindow.obj) : error LNK2019: symbole externe non
>     résolu __imp__GradientFill@24 référencé dans la fonction "public:
>     virtual void __thiscall
>     FX::FXDCWindow::fillVerticalGradient(int,int,int,int,unsigned
>     int,unsigned int)" (?fillVerticalGradient@FXDCWindow@FX@@UAEXHHHHII@Z)
>     1>foxd-1.7.lib(FXComposeContext.obj) : error LNK2019: symbole externe
>     non résolu _ImmReleaseContext@8 référencé dans la fonction
>     "public: void
>     __thiscall FX::FXComposeContext::setFont(class FX::FXFont *)"
>     (?setFont@FXComposeContext@FX@@QAEXPAVFXFont@2@@Z)
>     1>foxd-1.7.lib(FXComposeContext.obj) : error LNK2019: symbole externe
>     non résolu _ImmSetCompositionFontW@8 référencé dans la fonction
>     "public:
>     void __thiscall FX::FXComposeContext::setFont(class FX::FXFont *)"
>     (?setFont@FXComposeContext@FX@@QAEXPAVFXFont@2@@Z)
>     1>foxd-1.7.lib(FXComposeContext.obj) : error LNK2019: symbole externe
>     non résolu _ImmGetContext@4 référencé dans la fonction "public: void
>     __thiscall FX::FXComposeContext::setFont(class FX::FXFont *)"
>     (?setFont@FXComposeContext@FX@@QAEXPAVFXFont@2@@Z)
>     1>foxd-1.7.lib(FXComposeContext.obj) : error LNK2019: symbole externe
>     non résolu _ImmSetCompositionWindow@8 référencé dans la fonction
>     "public: void __thiscall FX::FXComposeContext::setSpot(int,int)"
>     (?setSpot@FXComposeContext@FX@@QAEXHH@Z)
>     1>foxd-1.7.lib(FXComposeContext.obj) : error LNK2019: symbole externe
>     non résolu _ImmGetCompositionStringW@16 référencé dans la fonction
>     "public: class FX::FXString __thiscall
>     FX::FXComposeContext::translateEvent(struct tagMSG &)"
>     (?translateEvent@FXComposeContext@FX@@QAE?AVFXString@2@AAUtagMSG@@@Z)
>     1>Debug/FXPPlot.exe : fatal error LNK1120: 6 externes non résolus
>
>     ------------------------------------------------------------------------------
>     _______________________________________________
>     Foxgui-users mailing list
>     Foxgui-users@...
>     <mailto:Foxgui-users@...>
>     https://lists.sourceforge.net/lists/listinfo/foxgui-users
>
>


------------------------------------------------------------------------------
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users