This is the mail archive of the
mailing list for the Cygwin project.
Re: mintty doesn't run on NT4 due to lack of GetConsoleWindow
- From: Andy Koppe <andy dot koppe at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 6 Aug 2009 12:18:10 +0100
- Subject: Re: mintty doesn't run on NT4 due to lack of GetConsoleWindow
- References: <20090806044706.GA2009@ednor.casa.cgf.cx>
2009/8/6 Christopher Faylor:
> 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.
> Andy would it be possible to avoid calling this function when it isn't
If you build mintty from source on 1.7, the workaround code with that
call is omitted, so this particular issue will go away as soon as 1.5
goes dead and I release a 1.7-compiled mintty. (Been too lazy to
However, I suspect NT4 will also barf at "SetLayeredWindowAttributes",
and there might be others. I guess the way to work around such issues
is via GetModuleHandle and GetProcAddress?
If you think it's worth the effort and you want to be the guinea pig,
I'd have a go at making mintty run on NT4. I don't want to set up NT4
(And to be honest I don't see the point in Cygwin 1.7 still supporting
NT4. Anyone willing to stick with an OS that's been unsupported for
five years should be more than happy to stick with Cygwin 1.5.)
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple