This is the mail archive of the cygwin@sourceware.cygnus.com
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: 'windres' bug
- To: krzych00@friko7.onet.pl
- Subject: Re: 'windres' bug
- From: DJ Delorie <dj@delorie.com>
- Date: Thu, 18 Feb 1999 13:07:36 -0500
- CC: cygwin@sourceware.cygnus.com
- Delivered-To: listarch-cygwin@sourceware.cygnus.com
- Delivered-To: mailing list cygwin@sourceware.cygnus.com
- In-reply-to: <000101be5b68$9c3b2200$5e1ea0d4@amd-based-pc>(krzych00@friko7.onet.pl)
- Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
- References: <000101be5b68$9c3b2200$5e1ea0d4@amd-based-pc>
- Sender: cygwin-owner@sourceware.cygnus.com
> 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