If you've already created an MFC-based application, you can easily add support for the Active Template Library (ATL) by inserting any of the ATL objects into your project.
Note This support applies only to simple COM objects added to an MFC executable or DLL project. You can add other COM objects (including ActiveX controls) to MFC projects, but the objects might not operate as expected.
To add ATL support to your MFC project
Note If you only want ATL support without adding any ATL objects, click Cancel in the ATL Object Wizard.