An ATL object can also be added into a project using New ATL Object from the Visual C++ Insert menu.
This brings up the ATL Object Wizard. To add a basic COM object, select Simple Object.
Click the Next button.
This brings up the ATL Object Wizard Properties dialog.
We did not use this method because it does not allow us to specify more than one interface in a COM object! To add a second interface, we
would have to add code manually several places within the project.