This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GetConsoleWindow


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@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]