Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Chart Resources Multilanguage Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Chart Resources Multilanguage Problem

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


Joined: 04 June 2006
Location: Germany
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote Marcus Quote  Post ReplyReply Direct Link To This Post Topic: Chart Resources Multilanguage Problem
    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.
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: 28 February 2011 at 2:32pm
Thanks. changed.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
evoX View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 July 2007
Status: Offline
Points: 207
Post Options Post Options   Thanks (0) Thanks(0)   Quote evoX Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
evoX View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 July 2007
Status: Offline
Points: 207
Post Options Post Options   Thanks (0) Thanks(0)   Quote evoX Quote  Post ReplyReply Direct Link To This Post 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)
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: 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
Back to Top
evoX View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 July 2007
Status: Offline
Points: 207
Post Options Post Options   Thanks (0) Thanks(0)   Quote evoX Quote  Post ReplyReply Direct Link To This Post 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)
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.047 seconds.