![]() |
How to create .XML file from .rc file? |
Post Reply
|
| Author | |
panphone
Newbie
Joined: 15 November 2005 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Topic: How to create .XML file from .rc file?Posted: 15 November 2005 at 1:41am |
|
I want to design a Multi-Language application (like the ScribbleMultiLang sample).I have finished one Language version.What's the simplest way to create .XML file from .rc file? Don't tell me do it manually because my application has many dialog boxes and other resource. thanks. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 November 2005 at 2:06am |
|
Hello, We use Resource\XMLResource\Source project to convert dll resources to xml.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
panphone
Newbie
Joined: 15 November 2005 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 November 2005 at 6:39pm |
oleg , I don't understand yet.Please give me a very clear explanation.thank you! |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 November 2005 at 2:06am |
|
In you installation folder: c:\program files\Codejock Software\...\Workspace\Resource\XMLResource\Source you can find extractor resorces from exe/dll to xml file. You can fix sorces a little - they only extract ToolkitPro resource for id range 9000-10000. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
panphone
Newbie
Joined: 15 November 2005 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 November 2005 at 6:39pm |
|
I see.think you again.
|
|
![]() |
|
panphone
Newbie
Joined: 15 November 2005 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 December 2005 at 12:21am |
|
A new problem is comming.The XTPResourceManagerXML(including other function) is useful.If the dialog is a modal dialog box I use InitModalIndirect(XTPResourceManager()->LoadDialogTemplat e(MAKEINTRESOURCE(IDD))) to create the dialog from XML file.If the dialog is a modeless dialog box I use m_dlg.CreateIndirect(XTPResourceManager()->LoadDialogTemp late(MAKEINTRESOURCE(m_dlg.IDD)),this) to to create the dialog from XML file.If the dialog is a class base from CPropertyPage ,how can I do it?Because I don't know where CPropertySheet create the CPropertyPage instance.
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 December 2005 at 8:48am |
|
Hello: See our CXTPCustomizeSheet sources:
LPCDLGTEMPLATE pResource = XTPResourceManager()->LoadDialogTemplate((UINT)(UINT_PTR) pPage->m_psp.pszTemplate); if (pResource) |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
panphone
Newbie
Joined: 15 November 2005 Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 December 2005 at 7:11pm |
|
thank you!
|
|
![]() |
|
manur0
Newbie
Joined: 13 April 2006 Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 April 2006 at 10:33am |
|
Hello,
I am wondering how to parse strings of a dialog loaded from a RC file ? I think XMLResource can be a good example but I can't find "c:\program files\Codejock Software\...\Workspace\Resource\XMLResource\Source" in my installation folder ! I am using Xtreme Toolkit Pro v9.60. Thanks |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 April 2006 at 11:00am |
|
It was added in later version. In 9.60 there is no way to hook it.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |