Adam Lock wrote: > 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 Requesting the object be constructed by way of the service manager should give you the same pointer value. This might not be appropriate for your application. -rick
