Making an ATL Object Noncreatable
Visual Studio 2015
You can change the attributes of an ATL-based COM object so that a client cannot directly create the object. In this case, the object would be returned through a method call on another object rather than created directly.
To make an object noncreatable