Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com Date: Wed, 4 Sep 2002 11:12:59 +0200 From: Corinna Vinschen To: cygwin-developers AT cygwin DOT com Subject: Re: GetConsoleWindow Message-ID: <20020904111259.C1213@cygbert.vinschen.de> Reply-To: cygwin-developers AT cygwin DOT com Mail-Followup-To: cygwin-developers AT cygwin DOT com References: <3D74CE7E DOT FC9C5BDF AT ieee DOT org> <3D74E346 DOT 53082DA7 AT yahoo DOT com> <3D7537F8 DOT 1050105 AT netscape DOT net> <3D754D71 DOT 9DB9EEDA AT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D754D71.9DB9EEDA@yahoo.com> User-Agent: Mutt/1.3.22.1i On Tue, Sep 03, 2002 at 08:01:53PM -0400, Earnie Boyd wrote: > Nicholas Wourms wrote: > > > Earnie Boyd wrote: > > > > >Fix has been committed. > > > > > >Developers, please be aware to add the appropriate _WIN32_WINNT guards as > > >described in the MSDN.microsoft.com documentation when adding new > > >imports. > > > > > Earnie, > > > > You've broken the build on Win32 platforms (dunno about others), as > > GetConsoleWindow is undeclared at 198 in cygwin/tty.cc. > > Then Cygwin source is broken as GetConsoleWindow is specific to Win32 >= > 0x0500. > Since Cygwin supports Win32 back to Win95 you can't use that function > globally. > You might configure tests that would use it based on OS environment. > > Earnie. Earnie, ever heard of autoload.cc? The problem is not in Cygwin but in w32api/include: Excerpt from windef.h: #ifndef WINVER #define WINVER 0x0400 #endif #ifndef _WIN32_WINNT #define _WIN32_WINNT WINVER #endif That variable has to be set to the latest version of Windows available, to 0x0510 or 0x0501, that is. You can't rely on each application to set it by hand. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc.