Windres problem with Boling book example

Ian Lance Taylor iant@google.com
Mon Nov 27 23:46:00 GMT 2006


Nick Clifton <nickc@redhat.com> writes:

> > This looks pretty lame, there must be a reason why this isn't
> > implemented like this to begin with. Does anyone see a reason ?
> 
> The reason is probably that the syntax that the original coders had to
> work with only showed upper case keywords.

Yes, exactly.  I just worked from the Microsoft documentation.  The
syntax and examples always used uppercase keywords, so that is what I
implemented.  In any case my only interest was the ability to build
icons and include them in Windows programs which I built on a Unix
host.  I went ahead and implemented the whole resource file syntax
because it was pretty simple, and because I was getting tired of
Windows programming.  Other people have improved it since then.

I don't think I even had a copy of the Microsoft resource compiler; I
certainly never ran it.  I just implemented everything based on the
documentation, and based on tests to see whether the generated output
worked correctly.

Ian



More information about the Binutils mailing list