delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/06/00:47:28

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 6 Aug 2009 00:47:07 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: mintty doesn't run on NT4 due to lack of GetConsoleWindow
Message-ID: <20090806044706.GA2009@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
MIME-Version: 1.0
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

I spent much of the day trying to resurrect my Windows NT4 system and
now that I finall have it back, I just tried to run mintty and noticed
that it seems to be using GetConsoleWindow.  That's not allowed on NT4.
I get an error that says:

"The procedure entry point GetConsoleWindow could not be located in the dynamic link library KERNEL32.dll"

This means that this entry point isn't available on Windows NT4.

This also exposes a problem with Cygwin on NT4 since I removed the
code which worked around this a while ago under the assumption that
this was an NT-thing rather than a NT 2K thing.  This means that
CYGWIN=tty doesn't work on Windows NT4.

Andy would it be possible to avoid calling this function when it isn't
available?  I'm going to put back the workaround code which used to be
used on Windows 9x in Cygwin so you can steal that when I'm done if
you'd like.

cgf

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