Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - _XTP_STATICLINK and multiple languages
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

_XTP_STATICLINK and multiple languages

 Post Reply Post Reply
Author
Message
SvenC View Drop Down
Groupie
Groupie


Joined: 02 February 2007
Status: Offline
Points: 79
Post Options Post Options   Thanks (0) Thanks(0)   Quote SvenC Quote  Post ReplyReply Direct Link To This Post Topic: _XTP_STATICLINK and multiple languages
    Posted: 19 February 2009 at 2:20pm

Hi,

I am using _XTP_STATICLINK to link statically to Toolkit Pro (12.1 or 13.0). The full blown toolkit dll is so much bigger than my app linked statically to the toolkit.
I am using resource dlls to provide localized versions of my strings, dialogs and so on.
 
In my main executable's rc file I added this:
 
"#include ""XTToolkitPro.rc"" // non-Microsoft Visual C++ edited resources\r\n"
 
How do I integrate and use localized resources from Toolkit Pro into my resource dlls?
 
Currently I see only english texts from Toolkit Pros components, as e.g. the context menu on command bars shows Customize...
 
Thanks for your help,
Sven
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2009 at 1:25am
Hi,
 
In resource dlls add
 
#define _XTP_RESOURCE_LANGUAGE de
#include "XTToolkitPro.rc"
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
SvenC View Drop Down
Groupie
Groupie


Joined: 02 February 2007
Status: Offline
Points: 79
Post Options Post Options   Thanks (0) Thanks(0)   Quote SvenC Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2009 at 3:20am

Works.

Thanks a lot,
Sven

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.