X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-4.3 required=5.0	tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <5F8AAC04F9616747BC4CC0E803D5907D0159AB@MLBXv04.nih.gov>
References: <5F8AAC04F9616747BC4CC0E803D5907D0159AB@MLBXv04.nih.gov>
Date: Fri, 23 Nov 2012 04:40:01 +0100
Message-ID: <CAEwic4aZ38YOXHatBQjOg=OtJwsHczUMkSkfLgG0VrPRoVJ23A@mail.gmail.com>
Subject: Re: Any idea windres does not work with native windows dlls/exes ?
From: Kai Tietz <ktietz70@googlemail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

2012/11/21 Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote:
> Hi,
>
> Could somebody please explain to me why windres complains about
> native windows dlls (let alone I can't get it work with new ones built
> on Cygwin).  For example:
>
> windres /cygdrive/c/windows/system32/ntdll.dll
> windres: unexpected version string length 68 != 32 + 8
>
> windres /cygdrive/c/windows/sysWOW64/kernel32.dll
> windres: unexpected version string length 68 != 32 + 8
>
> windres /cygdrive/c/windows/winhlp32.exe
> windres: unexpected version string length 68 != 32 + 8
>
> Any idea how to make it work, please?
>
> TIA,
>
> Anton Lavrentiev
> Contractor NIH/NLM/NCBI

There is an issue about parsing version-resource in binary-format in
binutils.  I have taken a look to it but didn't found for now the
underlying cause.

Kai

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

