![]() |
Previous Top Next |
ATL sample files
|
1. | Open VisualStudio and select "New..." from the "File" menu.
|
2. | Select "ATL COM AppWizard" and type in a project name.
|
3. | Select "Support for MFC" if you want to use MFC classes, or if you want to create a project for the sample code.
|
Having created the project files you can add an ATL object to implement the IXMLSpyPlugIn interface:
|
1. | Select "New ATL Object..." from the "Insert" menu.
|
2. | Select "Simple Object" from the wizard and hit "Next".
|
3. | Type in a name for the object.
|
4. | On the "Attributes" tab, select "Custom" for the type of the interface, and disable Aggregation.
|
|