Files Created by the Add-in Wizard
The Visual Studio Add-in Wizard creates multiple files for each add-in. Using the name MyAddin for the newly created add-in, the following table describes these files.
File name | Description |
---|---|
MyAddin.h | Includes the principal header information for the add-in. |
MyAddin.cpp | Contains the main source code for the add-in DLL. This file includes the OLE entry points required by in-process servers. |
MyAddin.odl | Includes the Object Description Language source code for the type library created by the add-in. |
MyAddin.rc | Lists all Windows resources that the add-in uses. For example, this file includes the sample toolbar bitmap stored in the RES subdirectory. You can edit this file Visual C++. |
MyAddin.rc2 | Contains all resources that you cannot edit in Visual C++. |
MyAddin.def | Includes definitions required for the add-in to run with Windows. This file contains parameters such as the name and description of the add-in. This file also exports functions from the add-in. |
MyAddin.clw | Contains information used to edit existing classes or add new classes. This file also stores information needed to create and edit message maps, and dialog box data maps and to create prototype member functions. |
Commands.cpp and Commands.h | Contain the Ccommands class that implements the command dispatch interface defined by the Commands Object. This interface contains one method for each command the add-in adds to the IDE. |
PBAddIn.cpp and PBAddIn.h | Includes the CPBAddIn class that implements the IDSAddIn interface defined by the PBAddIn Object object. This interface contains handlers for connecting the add-in to the IDE and disconnecting it from the IDE. |
Resource.h | Defines new resource identifiers. This is the standard header file, and Visual C++ reads and updates this file. |
Stdafx.h and Stdafx.cpp | Build the precompiled header file MyAddin.pch. |
See Also
Add-in Wizard Results | Commands Object | PBAddIn Object
Last updated on Friday, October 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.