'windres' bug
DJ Delorie
dj@delorie.com
Sun Feb 28 23:02:00 GMT 1999
> VS_VERSIONINFO structure created by 'windres' (B20.1)
> cannot be read by win9x (I don't know about nt).
> Stringtable sould have a 'total length' (first word),
> 'length of value' (second word) - missing (always set to 0),
> and 'type' (third word).
I applied a patch for this from a net user just yesterday! What a
coincidence. I've attached a diff if you need it.
--- resbin.c 1998/10/07 01:21:02
+++ resbin.c 1999/02/18 02:52:53
@@ -2258,5 +2258,4 @@
vsslen = 6;
- put_16 (big_endian, 0, vssd->data + 2);
put_16 (big_endian, 1, vssd->data + 4);
@@ -2278,4 +2277,5 @@
*pp = unicode_to_bin (vs->value, big_endian);
+ put_16 (big_endian, (*pp)->length / 2, vssd->data + 2);
length += (*pp)->length;
vilen += (*pp)->length;
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list