-----Original Message----- From: Ove Kaaven [mailto:ovek@arcticnet.no] Sent: 01 January 2004 01:34 To: Robert Shearman Cc: Boaz Harrosh; wine-devel@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?