On Friday, 3 November 2017 at 02:30:59 UTC, evilrat wrote:
You can't(or maybe you can but that is not a true COM). COM is Windows tech. It is backed up by OLE or whatever server it is.

What happens is that I translate a SDK which provides "COM-like" objects, on Windows and Mac (claiming ABI compatibility) and I'd like to know if I'll be able to use the COM facilities in D. No class will need registering.


My guess it will work fine when derive from any extern(Windows) interface(that's right, not class) that has base 3 methods(AddRef, Release, QueryInterface)

I'll test that scenario and see if the layout is the same.

Reply via email to