core.sys.windows.com.ComObject apparently has wrongly laid out Vtable

Carl Sturtivant sturtivant at gmail.com
Sat Mar 23 20:37:23 UTC 2024


On Wednesday, 20 March 2024 at 14:46:43 UTC, Dom DiSc wrote:
> On Wednesday, 20 March 2024 at 14:38:11 UTC, Carl Sturtivant 
> wrote:
>> So why isn't ComObject declared extern(C++) in druntime?
>
> Maybe because that was not available at the time druntime was 
> written?
> Write a bug report and suggest to change that.
> But be aware: There is likely code out there that relies on 
> this bug :-(

Perhaps you already knew what's in my proof-of-concept, but I've 
just now made it experimentally clear just above in this thread 
that this may very reasonably be regarded as a bug.


More information about the Digitalmars-d mailing list