Francois Gouget fgouget at
Fri Oct 1 05:05:14 CDT 2004

On Fri, 1 Oct 2004, Dmitry Timoshkov wrote:

> "Francois Gouget" <fgouget at> wrote:
> > COBJMACROS is very C unfriendly as it requires the caller to define it
> > if it wants to use COM objects. The following check is much better as
> > it does the right thing automagically:
> >
> > #if !defined (__cplusplus) || defined(CINTERFACE)
> >
> > So for internal interface, let's use the C friendly check instead of
> > COBJMACROS. This way we'll have fewer '#define COBJMACROS' to sprinkle
> > through the code.
> But that change makes Wine code not compilable with SDK and Mingw headers,
> I don't think it's an acceptable change.

Do you mean this change in particular (i.e. not using COBJMACROS for
protecting internal Wine structures) or the COBJMACROS change in

Why would it break compilation with the SDK and Mingw headers?

Francois Gouget         fgouget at
                  Hiroshima '45 - Czernobyl '86 - Windows '95

More information about the wine-devel mailing list