[WinAPI] Problem with an interface...
Jarrett Billingsley
kb3ctd2 at yahoo.com
Thu Nov 22 10:22:40 PST 2007
"Sascha Katzner" <sorry.no at spam.invalid> wrote in message
news:fi4el3$1peg$1 at digitalmars.com...
> It seems this explains exactly why the next function is called (because D
> expects an additional first entry which Windows doesn't deliver), when
> using a normal D interface instead of something derived from IUnknown.
> What it doesn't explain is, why IUnknown interfaces doesn't have this
> problem?!?
IUnknown is "magic", like Object. IUnknown has special significance to the
compiler; it knows that anything that derives from it is a COM interface.
More information about the Digitalmars-d
mailing list