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: Subject: Re: Any idea windres does not work with native windows dlls/exes ? From: Kai Tietz To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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