Interfacing with XPCOM

John Reimer terminal.node at gmail.com
Sun Nov 30 18:13:58 PST 2008


Hello Walter,

> So are you saying that XPCOM will work on Linux with D if only the
> extern(Windows) was actually extern(C++) ?
> 


Just to make this clear, I'm banking on that the fact that extern(C++) on 
an interface should also remove the necessity to alias to a COM interface 
on linux.  I am guessing that extern(C++) makes a vtable the same as COM 
minus the extern(Windows) decoration.  If this is not exactly true, then 
my hypothesis won't hold. :-)

-JJR





More information about the Digitalmars-d mailing list