Windres gives parsing errors when resource names begin with underscores

Nick Clifton nickc@redhat.com
Fri Apr 20 13:28:00 GMT 2007


Hi Millenomi,

> I was using a mingw cross-compiler to develop a game for Windows that
> would target XP and Vista (among other platforms, thanks to SDL).
> Vista requires, for games to appear in the Game Explorer window, that
> a resource is included in the .exe file, among other things. The
> resource must be named __GDF_XML (and be of the user type DATA), but
> windres complains (parse error on line:...) when compiling a .rc file
> such as:
> 
> __GDF_XML DATA MyVistaGameDefinitionFile.xml

 > Can it be changed so that this works?

Possibly.  Would you like to try out this (untested) patch and see if it 
works for you ?

Cheers
   Nick


-------------- next part --------------
A non-text attachment was scrubbed...
Name: rclex.l.patch
Type: text/x-patch
Size: 603 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20070420/8929a026/attachment.bin>


More information about the Binutils mailing list