Windows Media Player 11 SDK Using the Plug-in Wizard with Visual Studio
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:
Start Microsoft Visual Studio.
From the File menu, point to New and then click Project.
In Project Types, select Visual C++ Projects.
In Templates, select Windows Media Player Plug-in Wizard.
Enter a name for your project.
Enter a location for your project. This is the folder to which your project files will be copied.
Click OK to start the wizard.
Select the type of plug-in you want to create.
Complete any remaining dialog boxes in the wizard.
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:
- On the Tools menu, click Options.
- Click Projects and Solutions, and then click VC++ Directories.
- Under Show directories for, click Include files or Library files.
- Add the directories for the required files.
See Also
- Building a Plug-in
Previous | Next |