Add-in Implementation

Windows CE .NET

The Platform Builder Add-in Wizard installs in the correct location when you run Setup for Platform Builder. Once installed, you access the Platform Builder wizard from the Visual C++ Add-in Wizard of Microsoft Visual Studio .NET. If you install Visual C++ .NET and then install Platform Builder, the Platform Builder Add-in Wizard is available when you start the Visual C++ .NET wizard.

However, if you install Platform Builder before installing Visual C++ .NET, you must make the Platform Builder add-in available by manually copying the file PBAddInWiz.awx from <Platform Builder installation path>\Cepb\Bin to <DRIVE:>\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\IDE.

To create and use an add-in

  1. Write the code for the add-in.
  2. Customize the add-in command or add new commands.

    The Platform Builder Add-in Wizard automatically creates the code to add one command to Platform Builder. However, if you need to customize this command or add additional commands, you must modify the code. For more information, see Adding Commands to the Add-in.

  3. Build the dynamic-link library (DLL) for the add-in.

    For more information about building the DLL, see Building the DLL for the Add-in. 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.

  4. Connect the add-in to the Platform Builder environment.

    When you connect the add-in, it adds its commands to the Platform Builder development environment. For more information, see Connecting Add-ins to the Development Environment.

  5. Carry out the commands added to the environment.

    You can run these commands from the command line, or you can carry them out by choosing toolbar buttons or pressing keys associated with the commands.

See Also

Add-in Wizard Results | New Commands and Toolbar Buttons | Add-In Registration | Add-in Connection and Disconnection | Creating Platform Builder Add-ins Using Visual C++ | Building the DLL for the Add-in | Creating Add-ins with the Add-in Wizard

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.