Strange behavior
John C
johnch_atms at hotmail.com
Tue Mar 25 06:31:07 PDT 2008
Jarrett Billingsley Wrote:
> In std.c.windows.com there's IUnknown and a class called ComObject which
> implements it, including QueryInterface, AddRef, and Release. The compiler
> explicitly depends upon you deriving from this IUnknown and I don't know if
> it will treat your interfaces as COM interfaces unless you do.
>
Actually, any interface called IUnknown will do - it needn't be the one defined in Phobos.
More information about the Digitalmars-d-learn
mailing list