Adding an ATL Simple Object
To add an ATL (Active Template Library) object to your project, your project must have been created as an ATL application or as an MFC application that contains ATL support. You can use the ATL Project Wizard to create an ATL application, or add an ATL object to your MFC application to implement ATL support for an MFC application.
You can define COM interfaces for your new ATL object when you first create it, or add them later by using the Implement Interface command from the Class View shortcut menu.
To add an ATL simple object to your ATL COM project
In either Solution Explorer or Class View, right-click the name of the project to which you want to add the ATL simple object.
From the shortcut menu, click Add, and then click Add Class.
Set additional options for your project on the Options page of the ATL Simple Object wizard.
Click Finish to add the object to your project.