(When you create a COM project with VC ATL project and realize your own COM target, and then use CoCreateInstance as the COM target in another program, the question is: Who, when, and how are the C targets to achieve the COM target created? This article makes this problem clear.
ATL Uncover Secret.pdf)