Print Page | Close Window

_XTP_STATICLINK and multiple languages

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=13453
Printed Date: 23 June 2025 at 6:36am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: _XTP_STATICLINK and multiple languages
Posted By: SvenC
Subject: _XTP_STATICLINK and multiple languages
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: SvenC
Date Posted: 20 February 2009 at 3:20am

Works.

Thanks a lot,
Sven




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net