quick question about windows.h and then a long one if anyone is interested.

Dmitry Timoshkov dmitry at baikal.ru
Thu Aug 22 05:08:25 CDT 2002

"Steven Edwards" <steven_ed4153 at yahoo.com> wrote:

> I've been playing around with building the wine dlls with the headers in winsup for cygwin/mingw.
> I've included the mingw headers after the local directory but before inclusion of the wine
> headers.

You should use Wine headers only. If they are incomplete or cause you trouble those
incompatibilities should be fixed.

> I can build some of the more simple like twain and mapi doing this but I must also
> include windows.h in the sources. I noticed in wines windows.h it says it should not be included
> internaly so I assume this is also wrong for Mingw/MS_VC. 
> Simple Question: Is my assumption right?
> Long Question: If so then does anyone have any recommendations on testing 3rd party headers under
> mingw.

Try to avoid mixing headers from different build environments.


More information about the wine-devel mailing list