![]() |
How to create .XML file from .rc file? |
Post Reply ![]() |
Author | |
panphone ![]() Newbie ![]() Joined: 15 November 2005 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() 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 ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
oleg , I don't understand yet.Please give me a very clear explanation.thank you! |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
I see.think you again.
|
|
![]() |
|
panphone ![]() Newbie ![]() Joined: 15 November 2005 Status: Offline Points: 6 |
![]() ![]() ![]() ![]() ![]() |
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 ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
thank you!
|
|
![]() |
|
manur0 ![]() Newbie ![]() Joined: 13 April 2006 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() |
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 ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |