jml wrote:
I know that in MS COM one can queryInterface the two pointer to IUnknown, then compare the two IUnknow. Is it same is xpcom, that first queryInterface to nsISupports then compare the two nsISupports?
I should also add one warning to that. If you're interacting with JavaScript there are cases where this isn't true. Passing in a XPCOM object, that gets wrapped, and if you get that passed back to you elsewhere, the pointers may not be the same due to double wrapping.

David Bradley




Reply via email to