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:32:30 +0200 From: Corinna Vinschen To: cygwin-developers AT cygwin DOT com Subject: Re: GetConsoleWindow Message-ID: <20020904113230.E1213@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> <20020904111259 DOT C1213 AT cygbert DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020904111259.C1213@cygbert.vinschen.de> User-Agent: Mutt/1.3.22.1i On Wed, Sep 04, 2002 at 11:12:59AM +0200, Corinna Vinschen wrote: > 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. Btw., setting WINVER to >= 0x0500 raises a new problem. In that case commdlg.h includes unknwn.h which defines interfaces which are only available with the compiler option -fvtable-thunks. In turn, dll_main.cc and other stuff which includes commdlg.h isn't compilable anymore. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc.