Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / desktop / MFC

convert a win32 rc file to XML

5.00/5 (2 votes)
20 Jul 2011CPOL 19.9K  
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)