Re: oleidl.idl must include windows.h and ole2.h if COM_NO_WINDOWS_H is not defined.

2006-10-24 Thread Francois Gouget
On Thu, 19 Oct 2006, Robert Shearman wrote: [...] > Is there any pattern to those that are missing it? I have not found it yet. > I would only expect to see the COM_NO_WINDOWS_H stuff in headers generated > from IDL files with at least one interface with the object keyword. Ah, you must know mo

Re: oleidl.idl must include windows.h and ole2.h if COM_NO_WINDOWS_H is not defined.

2006-10-19 Thread Robert Shearman
Francois Gouget wrote: On Thu, 19 Oct 2006, Robert Shearman wrote: [...] Actually, in the PSDK there seems to be a correlation between COM_NO_WINDOWS_H and idl files. It's not 100% but that may be just be because they don't ship all the idl files. Also, the COM_NO_WINDOWS_H #ifdef is not pres

Re: oleidl.idl must include windows.h and ole2.h if COM_NO_WINDOWS_H is not defined.

2006-10-19 Thread Francois Gouget
On Thu, 19 Oct 2006, Robert Shearman wrote: [...] > > Actually, in the PSDK there seems to be a correlation between > > COM_NO_WINDOWS_H and idl files. It's not 100% but that may be just be > > because they don't ship all the idl files. Also, the COM_NO_WINDOWS_H #ifdef > > is not present in the id

Re: oleidl.idl must include windows.h and ole2.h if COM_NO_WINDOWS_H is not defined.

2006-10-18 Thread Robert Shearman
Francois Gouget wrote: On Wed, 18 Oct 2006, Alexandre Julliard wrote: Francois Gouget <[EMAIL PROTECTED]> writes: 2) Or modify these sections so they read: #if !defined(COM_NO_WINDOWS_H) && !defined(__WINESRC__) # include # include #endif I think we want th

Re: oleidl.idl must include windows.h and ole2.h if COM_NO_WINDOWS_H is not defined.

2006-10-18 Thread Francois Gouget
On Wed, 18 Oct 2006, Alexandre Julliard wrote: > Francois Gouget <[EMAIL PROTECTED]> writes: > > > 2) Or modify these sections so they read: > > > > #if !defined(COM_NO_WINDOWS_H) && !defined(__WINESRC__) > > # include > > # include > > #endif > > I think we want that, otherwi

Re: oleidl.idl must include windows.h and ole2.h if COM_NO_WINDOWS_H is not defined.

2006-10-18 Thread Alexandre Julliard
Francois Gouget <[EMAIL PROTECTED]> writes: > 2) Or modify these sections so they read: > > #if !defined(COM_NO_WINDOWS_H) && !defined(__WINESRC__) > # include > # include > #endif I think we want that, otherwise we'll end up having to add COM_NO_WINDOWS_H to pretty much every