Home Page (Add-ins) | Overview | How Do I ... Topics | FAQ | Reference
With Visual C++ versions 5.0 and later, the easiest way to create an add-in is to use the Developer Studio Add-in Wizard. This wizard creates the basic code, which you can modify to suit your needs.
Note The code created uses the ActiveX Template Library and the Microsoft Foundation Classes.
To create an add-in with Visual C++
The wizard adds a code stub for each event. Then, you must complete the code for the events you want.
The wizard ends and Developer Studio displays the classes created for the add-in. For details about the files and classes produced by the wizard, see Understanding the Results of the Add-in Wizard.
The Developer Studio Add-in Wizard automatically creates the code to add one command to Developer Studio. However, if you need to customize this command or add additional commands, you must modify the code. For details, see Adding Commands to the Visual C++ Developer Studio.
Tip Always unregister an add-in before changing it. For example, if you want to move an add-in to a new directory on your computer, or if you want to change its programmatic identifier (progID), unregister it beforehand. To unregister an add-in, go to the command line, go to the directory containing the add-in, and then type the command regsvr32 /u myAddIn.dll, where myAddIn is the name of the add-in.