delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/13/04:40:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20120413021811.GA19980@ednor.casa.cgf.cx>
References: <1581884843 DOT 20120412191907 AT mail DOT ru> <20120413021811 DOT GA19980 AT ednor DOT casa DOT cgf DOT cx>
Date: Fri, 13 Apr 2012 10:39:50 +0200
Message-ID: <CAEhDDbDGoB+gmkbYchPQSO+eTnOUTtN=6+wT8QCAuodqBDFRNg@mail.gmail.com>
Subject: Re: Win2000 compatibility
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin AT cygwin DOT com
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q3D8eAnG001143

On Fri, Apr 13, 2012 at 4:18 AM, Christopher Faylor  wrote:
> On Thu, Apr 12, 2012 at 07:19:07PM +0400, iggor wrote:
>>It appears that Cygwin SETUP.EXE at this time is uncompatible with
>>Windows 2000, since it uses function GetModuleHandleExA which leads to
>>error in searching entry point in kernel32.dll.  So, I cannot run setup
>>at all, even get help with option.  AFAIK, this function is absent in
>>all Win2k, not only my SP4, build 2195.
>
> I finally managed to check this on a virtual machine at home.  At work I
> could only check the sources and import list for setup.exe to see if
> GetModuleHandleExA was referenced and I couldn't see any sign of it.
> And, unsurprisingly, when I try setup.exe at home under W2K it does work
> fine under Windows Service Pack 4.
>
> If you're having problems it seems like you either have an old version
> of setup.exe or a non-Cygwin version of setup.exe.

The following experiment appears to confirm that setup.exe has nothing
to do with GetModuleHandleExA :

$ strings ~/Cygwin/setup/setup.exe | grep GetModule
GetModuleFileNameW
GetModuleHandleA

This is a setup.exe built from the CVS sources. The executable
downloaded from cygwin.com is compressed, so:

$ strings ~/download/setup-1.7.exe | grep GetModule
(no output)


Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
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