windres and ICON (was: compiling resources in B20.1)

DJ Delorie
Mon Jun 26 13:40:00 GMT 2000

> No, I downloaded the binutils dated June, 19. The windres that comes with
> this release produced the error...

In that case, you probably have the fixed windres, but you have
resources designed for the broken windres.  The correct syntax
for icons is:

ICON	which-icon, control-id, x, y

Previous versions of windres combined which-icon and control-id into a
single parameter, and produced unusable resource files.

"which-icon" is a reference to an icon defined elsewhere in the
resource file, not a filename.  "control-id" is usually IDC_STATIC.

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list