Add RES/RC Support


RES and RC support exists in several ways:
a) ResourceData needs an abstract .ToRCScript method which subclasses implement to generate RC scripts. Fortunately this isn't too difficult: MSDN has a whole section on them: ms-help://MS.MSDNQTR.v90.en/tools/tools/resource_definition_statements.htm
b) Resourcer needs to be able to read-in compiled *.res files and show the resources within them. I'm not aware of any APIs for this so I'll have to read them in manually. Fortunately it's a well-documented format.
...and then I can check-off "RES/RC Support" on the Wikipedia article! ( http://en.wikipedia.org/wiki/Resource_(Windows) )
Closed Apr 10, 2009 at 9:30 PM by W3bbo
I'll pass on adding RC support for now, I don't think there's much need for it.

Maybe as a "2.0" feature


W3bbo wrote Apr 7, 2009 at 11:58 AM

I've now added in support for read-only *.res files and they seem to be working smoothly.

Supporting writing to *.res files is different, since they need rebuilding, but doable. I'll leave it for now.

I propose adding a third option c) There's a ResourceSource subclass that reads in .rc scripts and uses references to files to load the data. But that's a bit tricky since the data hasn't been preprocessed, so resources like Bitmaps and Icon Directories wouldn't work anymore. VS already has a good .rc editor, I don't see the need in expanding in this area.

wrote Apr 10, 2009 at 9:30 PM

wrote Feb 14, 2013 at 8:13 PM

wrote May 16, 2013 at 9:36 AM