unknwn.h: unknwn.idl
Robert Shearman
R.J.Shearman at warwick.ac.uk
Thu Jan 1 06:49:26 CST 2004
> -----Original Message-----
> From: Ove Kaaven [mailto:ovek at arcticnet.no]
> Sent: 01 January 2004 01:34
> To: Robert Shearman
> Cc: Boaz Harrosh; wine-devel at winehq.org
> Subject: RE: unknwn.h: unknwn.idl
>
> You can't use cpp_quote inside an interface definition.
True, but you can use cpp_quote to disable interface generation using
cpp_quote("#if 0") ... cpp_quote("#endif"). This is how Microsoft do it with
their unknwn.idl.
> Apparently, MS didn't solve that problem, so widl hasn't either.
Microsoft caused the problem. What is the point of creating this automatic
QueryInterface function? Is it that hard to pass in a matching IID with your
interface pointer?
More information about the wine-devel
mailing list