Freigeben über


Using the Windows SDK to Develop Win32 C++ Apps With Visual Studio 2005

Are you building apps for Vista yet or messing around with the great selection of new samples in the SDK?  Just a reminder for those using the SDK with Visual Studio... In order to use Windows SDK headers, libraries, and tools within Visual Studio 2005, an SDK-provided Visual Studio registration tool must first be run. The tool must run in elevated administrator mode if you're using Vista, and it must be run for each user.

To run the Visual Studio Registration Tool on Vista, go to:

Start --> All Programs --> Microsoft Windows SDK --> Visual Studio Registration--> (Right click and choose to run as administrator) Integrate Windows SDK Directories with Visual Studio 2005.

Running into problems? If VCIntegrate doesn't update include, lib or bin paths in Visual Studio, try running Visual Studio.  Visual Studio needs to be run at least once before VCIntegrate is run. After installing Visual Studio, run Visual Studio, then run VCIntegrate.

And remember, samples install by default to \Program Files, a read-only folder (you can override this during SDK Setup).  You need to build samples in a directory outside of \Program Files to which you have write access. For more information, read Hey! My Sample Won't Build in \Program Files.