convert a win32 rc file to XML





5.00/5 (2 votes)
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.