You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spec says:
"A COM interface is defined as one that derives from the interface core.stdc.windows.com.IUnknown."
https://dlang.org/spec/interface.html#com-interfaces
However an interface derived from another interface named "IUnknown", whatever its content and fully qualified name, will also be considered COM, with the semantics restrictions.
This is very desirable since it allow to use COM interfaces with sayn @nogc signatures, or COM without Windows.
So the spec is wrong about this, core.stdc.windows.com.IUnknown is not needed, but the name "IUnknown" is.
The text was updated successfully, but these errors were encountered:
ponce reported this on 2017-11-03T13:38:10Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=17963
Description
The text was updated successfully, but these errors were encountered: