Wednesday, June 1, 2016

COM objects can be elusive

When proxying a COM object, queryinterface it can be frustrating.
A program can ask for other interface, and then return to the original interface.
If you are not covering all the interfaces that the object support, a program can bypass the proxy this way.

Also, A lot of unexpected interfaces can be created using CoCreateInstance, bypassing their official "create" function.

No comments:

Post a Comment