How to: Use Visual C++ Express Edition with the Microsoft Platform SDK
The document is archived and information here might be outdated

How to: Use Visual C++ Express Edition with the Microsoft Platform SDK 

Visual Studio 2005

You can use Visual C++ 2005 Express Edition to build powerful .NET Framework applications immediately after installation. In order to use Visual C++ Express Edition to build Win32 applications, you will need to take just a few more steps, as detailed below.

Installing the Platform SDK for use with Visual C++ Express Edition

  1. Install the Microsoft Platform SDK over the Web from the Platform SDK Update site. At a minimum, you will need to install the Windows Core SDK. However, several samples utilize the functionality in other SDKs, so it is recommended that you perform a complete install.

  2. From the Tools menu in Visual Studio, select Options. The Options dialog box appears.

    From the Options dialog box, expand the Projects and Solutions node and select VC++ Directories. In that section, add the following paths to the appropriate subsection:

    • Executable files: C:\Program Files\Microsoft SDK\Bin

    • Include files: C:\Program Files\Microsoft SDK\include

    • Library files: C:\Program Files\Microsoft SDK\lib


    The location of the Platform SDK might be different on your system.

  3. Update the corewin_express.vsprops file (found in %VSINSTALLDIR%\VC\VCProjectDefaults) and change the string that reads:



    AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib"

  4. Update the default.js file (found in %VSINSTALLDIR%\VC\VCWizards\AppWiz\Generic\Application\scripts\1033) and change the two lines that read:

    LinkTool.AdditionalDependencies = "kernel32.lib $(NoInherit)";


    // LinkTool.AdditionalDependencies = "kernel32.lib $(NoInherit)";

  5. To integrate the Platform SDK documentation into the Visual C++ Express documentation, follow the instructions at Visual Studio 2005 Express Edition Combined Help Collection Manager.

  6. Generate and build a Win32 application to test your paths.

    For this, you can use one of the many samples provided in the Help files, such as CPUID Sample: Determines CPU Capabilities. To verify that everything is working, build and run the sample as documented in the help topic.

See Also

Other Resources

Visual C++ Guided Tour

© 2016 Microsoft