Windows Media Player 11 SDK Using the Plug-in Wizard with Visual Studio 

Windows Media Player SDK banner art

Previous Next

Using the Plug-in Wizard with Visual Studio

After you have installed the necessary components, you can quickly create a plug-in that will serve as a starting point. The following steps will guide you:

  1. Start Microsoft Visual Studio.

  2. From the File menu, point to New and then click Project.

  3. In Project Types, select Visual C++ Projects.

  4. In Templates, select Windows Media Player Plug-in Wizard.

  5. Enter a name for your project.

  6. Enter a location for your project. This is the folder to which your project files will be copied.

  7. Click OK to start the wizard.

  8. Select the type of plug-in you want to create.

  9. Complete any remaining dialog boxes in the wizard.

  10. Use the Visual Studio development environment to build your project.

    Note  In Microsoft Windows Vista, the project will not build successfully unless you run Visual Studio with a full administrator access token. Right-click the Visual Studio name or icon, and click Run as administrator.

Before attempting to build the project, be sure to configure your development environment to point to the folders named Include and Lib where you installed the Windows SDK. Your compiler and linker will need access to some of the files in these folders.

If you ran the Visual Studio Registration utility that comes with the Windows Vista SDK, your development environment has probably already been configured to point to the Windows SDK Include and Lib folders. Otherwise, you must manually configure your development environment.

To manually configure Visual Studio:

  1. On the Tools menu, click Options.
  2. Click Projects and Solutions, and then click VC++ Directories.
  3. Under Show directories for, click Include files or Library files.
  4. Add the directories for the required files.

See Also

  • Building a Plug-in
Previous Next