core.sys.windows.com.ComObject apparently has wrongly laid out Vtable
Walter Bright
newshound2 at digitalmars.com
Thu Mar 21 16:07:46 UTC 2024
On 3/21/2024 6:22 AM, Carl Sturtivant wrote:
> would produce a class with extern(Windows) calling and an extern(C++) COM
> compatible vtable.
There are two vtables in that example - one for the C++ class, and one for the
COM interface. They are not interchangeable with a cast, because the layouts are
different.
More information about the Digitalmars-d
mailing list