The Microsoft® Platform SDK provides developers with documentation, header files, and sample code necessary to write software for Microsoft Windows® and Microsoft Windows NT®. The Platform SDK simplifies installation by integrating components from different SDKs and installing them in common paths on your hard disk. It can also set the search paths used by Microsoft Visual Studio®.
This version of the Platform SDK provides a specific build environment for the new features in XP SP2. It will work side by side with previous versions of the Platform SDK in order to support the other build environments. Additionally it includes updated documentation.
By default, the Platform SDK is installed to your hard disk in the locations described in the following table. This list is not complete, but covers the most common directories.
| Directory | Contents |
| \Bin | Platform SDK tools |
| \Help | Platform SDK documentation |
| \Include | Header and IDL files |
| \Lib | Import libraries and TLB files |
| \License | Platform SDK license information |
| \Samples | Platform SDK samples |
| \Src | Source code for ATL, CRT, and MFC for the Itanium architecture |
This edition of the Platform SDK includes prerelease content, enabling you to start developing your application before the technology is released. However, technologies can change prior to their final release. As a result, before you can release your applications, you must fully test them with the final released software. Please refer to the License Agreement for more details about released and prerelease content in the Platform SDK.
This edition of the Platform SDK contains the following prerelease content:
The details of configuring compiler and linker options are described in the Getting Started section of the documentation as well as in Win32.mak, which is located in the %MSSDK%\include directory. You can use one of the following methods to build applications from the command prompt using your own makefiles.
The following are important notes for building applications with the Platform SDK.
Selecting to Register Environment Variables places the Platform SDK bin, include, and library directories at the beginning of the search paths used when building programs in the Visual Studio IDE. (Note that to target a specific version of Windows, you must still define the _WIN32_WINNT, _WIN32_IE, and _WIN32_WINDOWS macros as appropriate.)
To register the SDK bin, include, and library directories with Microsoft Visual Studio® version 6.0 and Visual Studio .NET, click Start, point to All Programs, point to Microsoft Platform SDK for Windows XP SP2, point to Visual Studio Registration, and then click Register PSDK Directories with Visual Studio. This registration process places the SDK bin, include, and library directories at the beginning of the search paths, which ensures that the latest headers and libraries are used when building applications in the IDE.
Note that for Visual Studio 6.0 integration to succeed, Visual Studio 6.0 must run at least once before you select Register PSDK Directories with Visual Studio. Also note that when this option is run, the IDEs should not be running.
If you wish to revert to the previous environment variables (for Microsoft® Platform SDK for Windows Server 2003) you will need to manually edit the lines in the VCComponents.dat file to the appropriate directory:
Example:
From
Path Dirs=
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\bin\winnt;
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\bin;
Include Dirs=
C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include;
To
(The differences when running VCIntegrate with XPSP2:)
Path Dirs=
C:\Program Files\Microsoft SDK\bin\winnt;
C:\Program Files\Microsoft SDK\bin;
Include Dirs=
C:\Program Files\Microsoft SDK\include;
The following notes describe issues with the Platform SDK.
The Speech API 5.1 SDK is available for download from http://www.microsoft.com/speech/download/sdk51/, along with instructions for obtaining a CD ordering information if desired.
Applications built for Windows Sockets 2 should include Windows.h after Winsock2.h, or not at all. Including Windows.h prior to Winsock2.h results in compile-time errors.
The Windows Sockets samples have been updated to support IPv6.
The Web Telephony Engine (WTE) samples have been removed. As an alternative, use the capabilities of the Speech Application Language Tags described in the .NET Speech SDK.
The tools listed below have been developed to run on Windows Server 2003, Windows XP, and Windows 2000; these tools are not supported on earlier versions of Windows.
• Checkv4.exe
• Consume.exe
• FiltDump.exe
• FiltReg.exe
• MakeCat.exe
• OleView.exe
• Signtool.exe• RC.exe
• Tracefmt.exe
• Tracelog.exe
• Tracepdb.exe
• Uddipublishwizard.exe
The Microsoft Platform SDK, February 2001 Edition, was the last to ship redistributable components as an integral part of the SDK. These redistributable components are now available to you and your customers online. For more information, see Platform SDK Redistributables.
Periodically, content is removed from the Platform SDK and placed in an online archive for download. This ensures that the Platform SDK content remains current, while making older content available for customers who need it. To view a complete list of archived content available for download, see Platform SDK Archive.
The current version of the Windows Template Library (WTL), formerly packaged in the Platform SDK, can be downloaded from Windows Template Library Download.
For information on Microsoft Developer Support, see the document installed to your hard disk at %MSSDK%\setup\html\support.htm.
The contents included in the Platform SDK are licensed to you, the end user. Your use of the SDK is subject to the terms of an End User License Agreement ("EULA") accompanying the SDK and located in the \License subdirectory. You must read and accept the terms of the EULA before you access or use the SDK. If you do not agree to the terms of the EULA, you are not authorized to use the SDK.
The license agreement is installed to your hard disk at %MSSDK%\license\license.htm.
Submit bug reports or suggestions for the Platform SDK to sdkfdbk@microsoft.com.
©2004 Microsoft Corporation. Legal Notices.