It cannot be done because of the interface abstraction that COM provides. Consistent, reflexive, symmetric, transitive, and modular. Symmetric and transitive. Reflexive and modular. We have to write everything in the header file.
Interfaces are harder to get a hold of.
It does not allow us to use as many interfaces. A COM standard class factory can be created by Implementing the IClassFactory interface. Implementing the IStdClassFactory interface. Using the stdfactory keyword. Just creating a class that returns a COM object.