That actually makes perfect sense. And, the link states...
...which basically just affirms what you said.For any given object instance, a call to QueryInterface with IID_IUnknown must always return the same physical pointer value.
All stuff that's good to know that I hadn't really thought about before. I typically use the "Is" operator, but I could have seen myself comparing ObjPtr() values and not thinking anything of it.





Reply With Quote