Mail Archives: cygwin-developers/2002/09/05/17:32:39
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.
- Raw text -