delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/11/22/22:40:29

X-Recipient: archive-cygwin AT delorie DOT 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 AT MLBXv04 DOT nih DOT 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 AT googlemail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019