Click here to Skip to main content
15,881,600 members
Articles / Desktop Programming / MFC
Tip/Trick

convert a win32 rc file to XML

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
20 Jul 2011CPOL 19.1K   1   3
this tip tells about a tool that converts a win32 rc file to XML
When we are trying to port a win32 app or an mfc app to some other frame work, we need to port the resource files (.rc) also. In most cases we use a generic language such as XML to represent the resource. That's where a pretty useful tool named convertrc.exe comes into play. This tool is supplied with wxWidgets package and is pretty useful when it comes to convert rc files to xml.

I had some trouble compiling it to generate the convertrc.exe since my widgets was an older version.

Anyway, here resides the source code of this tool for wxWidgets 2.6.1

..\wxWidgets-2.6.1\contrib\utils\convertrc

I must say I am quite impressed. Hope it proves useful to some of you too.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead Kotha Technologies
Bangladesh Bangladesh
If you are not in - you are out !
- Chapter 1

Comments and Discussions

 
QuestionGreat to be still relevant Pin
Mukit, Ataul10-May-18 7:11
Mukit, Ataul10-May-18 7:11 
It's great when you find your suggestion is still relevant nearly after a decade !
Wanna know why?
AnswerRe: Great to be still relevant Pin
Member 159716002-Oct-23 5:14
Member 159716002-Oct-23 5:14 
GeneralReason for my vote of 5 Thanks for the tip! Pin
Pablo Aliskevicius25-Jul-11 20:15
Pablo Aliskevicius25-Jul-11 20:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.