![]() |
Chart Resources Multilanguage Problem |
Post Reply
|
| Author | |
Marcus
Groupie
Joined: 04 June 2006 Location: Germany Status: Offline Points: 42 |
Post Options
Thanks(0)
Quote Reply
Topic: Chart Resources Multilanguage ProblemPosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 February 2011 at 2:32pm |
|
Thanks. changed.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
evoX
Senior Member
Joined: 25 July 2007 Status: Offline Points: 207 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 June 2011 at 12:44pm |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 June 2011 at 8:20pm |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 June 2011 at 6:02am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 June 2011 at 7:06pm |
|
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 |