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

Carl Sturtivant sturtivant at gmail.com
Thu Mar 21 17:18:56 UTC 2024


On Thursday, 21 March 2024 at 16:06:32 UTC, Walter Bright wrote:
> The C++ and Windows calling convention are different. COM code 
> will not be able to successfully call C++ functions. You can 
> derive a C++ class from a COM interface, but you can't cast a 
> COM interface to a C++ class.

OK, thanks for the clarification.


More information about the Digitalmars-d mailing list