Interfacing with XPCOM

Walter Bright newshound1 at digitalmars.com
Mon Dec 1 08:13:48 PST 2008


John Reimer wrote:
> It would be nice if extern(C++) were still ported to D 1.0, but the 
> other alternative of enabling extern(System) in COM support (instead of 
> extern(Windows) ) will also work.

Unfortunately, extern(C++), even if ported to D1, will not work for COM 
objects. COM objects, to be compatible with Windows, need to be the 
Windows calling convention.



More information about the Digitalmars-d mailing list