Compartilhar via


Add-in Implementation (Windows CE 5.0)

Send Feedback

If you install Microsoft Visual C++ 6.0 and then install Microsoft Platform Builder, the Platform Builder Add-in Wizard is available when you start the Visual C++ 6.0 wizard.

The Platform Builder Add-in Wizard is installed in the correct location when you run Setup for Platform Builder. After it is installed, you access the Platform Builder wizard from the Visual C++ Add-in Wizard of Visual Studio 6.0.

However, if you install Platform Builder before installing Visual C++ 6.0, you must make the Platform Builder Add-In Wizard 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 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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.