XPCOM how to port?

Frank Benoit keinfarbton at googlemail.com
Thu Mar 6 11:35:29 PST 2008


KlausO schrieb:
> XPCOM and COM are almost the same. The base interface IUnknown in COM 
> has the same interface as the base interface called nsISupports in 
> XPCOM. Even the GUID (00000000-0000-0000-C000-000000000046) is the same.
> 
> see:
> http://developer.mozilla.org/en/docs/nsISupports
> 
> "On Win32 systems, nsISupports is ABI-compatible with Microsoft COM's 
> IUnknown interface."
> 
> So you should be able to use D's COM support for interfacing.

Thats really good news, i will try that.


More information about the Digitalmars-d-dwt mailing list