Making C++ COM classes more test-friendly
Our code-base has a lot of COM objects, so typically we'll have something like: //this is the IDL-generated IGetTime interface header #include "gettime.h" //our COM class implementation of IGetTime class CGetTime : public IGetTime { public: CGetTime(CGetTimeCF &factory,...); //COM-specific constructor params /* IUnknown */ ...