What's the best way to compare two interface pointers to see if they
point to the same object?

Interface pointer comparison seems risky to me considering that one
pointer might actually belong to a proxy so it wouldn't necessarily
match.  DCOM says pointer comparison may only be used to compare
explicitly queried IUnknown interfaces. Does XPCOM have a similar rule?

Adam


Reply via email to