oleidl.idl must include windows.h and ole2.h if COM_NO_WINDOWS_H
is not defined.
Francois Gouget
fgouget at free.fr
Tue Oct 24 05:20:10 CDT 2006
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 more than me as I had no particular expectations.
There are some counter-examples:
* Bits.h contains the COM_NO_WINDOWS section, but there is no object
keyword in Bits.Idl.
* Dimm.h contains no COM_NO_WINDOWS section, but there are object
keywords in Dimm.Idl (but in a library section, maybe that makes a
difference).
Counter example to the "object keywords inside a 'library' don't count"
hypothesis: SspsIdl.Idl.
Maybe this has to do with what a given Idl file #imports? (which would
make testing harder :-( )
Or maybe the headers that lack the COM_NO_WINDOWS section have been
manually edited by MS after being generated by midl?
--
Francois Gouget <fgouget at free.fr> http://fgouget.free.fr/
Hiroshima '45 - Czernobyl '86 - Windows '95
More information about the wine-devel
mailing list