![]() |
Chart Resources Multilanguage Problem |
Post Reply ![]() |
Author | |
Marcus ![]() Groupie ![]() Joined: 04 June 2006 Location: Germany Status: Offline Points: 42 |
![]() ![]() ![]() ![]() ![]() Posted: 28 February 2011 at 7:04am |
In my project I link XTP statically and include XTP resources in german and english like this:
#include <XTToolkitPro.rc>
#define _XTP_NO_BINARY_RESOURCES
#define _XTP_RESOURCE_LANGUAGE de #include <XTToolkitPro.rc> _XTP_NO_BINARY_RESOURCES prevents language-neutral resources to be included multiple times.
In V15, you added chart resources, which are all in english or language neutral.
Now, RC quits with an error message because of duplicate resources.
My current solution is adding #define _XTP_EXCLUDE_CHART, because I don't have use for chart controls yet.
But, I think you should fix this, for example by adding a Resource-Neutral.rc file to the Chart component, like in the other components, and checking for _XTP_NO_BINARY_RESOURCES.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Thanks. changed.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
evoX ![]() Senior Member ![]() ![]() Joined: 25 July 2007 Status: Offline Points: 207 |
![]() ![]() ![]() ![]() ![]() |
For me chartpro does not work at all in a translated app...:(
I have the same static link to XTP
|
|
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit Language: Visual C++ (VS 2019) |
|
![]() |
|
evoX ![]() Senior Member ![]() ![]() Joined: 25 July 2007 Status: Offline Points: 207 |
![]() ![]() ![]() ![]() ![]() |
Is there a way to use chartpro with a translated DLL ? because I cannot make it to work
|
|
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit Language: Visual C++ (VS 2019) |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
What it means ? What you can't make work? ChartPro doesn't have any resources now that should be localized.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
evoX ![]() Senior Member ![]() ![]() Joined: 25 July 2007 Status: Offline Points: 207 |
![]() ![]() ![]() ![]() ![]() |
I have finally fixed the problem.I had to call RegisterWindowClass in OnInitDialog in order to work.
|
|
Product: Xtreme ToolkitPro 19.30
Platform: Windows 10 64bit Language: Visual C++ (VS 2019) |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |