COM/OLE advanced questions
Guillaume Piolat
contact at spam.com
Fri Nov 3 12:50:52 UTC 2017
On Friday, 3 November 2017 at 12:24:43 UTC, Guillaume Piolat
wrote:
> On Friday, 3 November 2017 at 10:50:27 UTC, Kagamin wrote:
>>
>> It only looks at the name.
>>
>
> I'll test if that name needs to be "IUnknown" or the exact
> "core.sys.windows.unknwn.IUnknown", since I'm in @nogc and not
> necessarily on Windows, so I can't inherit from
> core.sys.windows.unknwn.IUnknown (but still need a COM-like
> layout).
The answer is that "IUnknown" is all that is needed, no matter
what the fully qualified name.
More information about the Digitalmars-d-learn
mailing list