Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

  1. In either Solution Explorer or Class View, right-click the name of the project to which you want to add the ATL simple object.

  2. From the shortcut menu, click Add, and then click Add Class.

  3. In the Add Class dialog box, in the Templates pane, click ATL Simple Object, and then click Open to display the ATL Simple Object Wizard.

  4. Set additional options for your project on the Options page of the ATL Simple Object wizard.

  5. Click Finish to add the object to your project.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.