Windows SDK Installation

From RAD Studio
Jump to: navigation, search

SDK Installation

Suppose you choose to install C++ or Delphi support for RAD Studio before running the installer. In that case, RAD Studio checks the current Microsoft Windows SDK installation on the machine and, if not, provides the installation link to the latest version.

It is highly recommended that users install the Windows SDK before installing RAD Studio 13 Florence.

When installing the Windows SDK, it is recommended to enable the following options:

  • Windows SDK for Desktop C++ x86 Apps
  • Windows SDK for Desktop C++ amd64 Apps

It will also automatically activate the following:

  • Windows SDK Signing Tools for Desktop Apps
  • Windows SDK for UWP Managed Apps
  • Windows SDK for UWP C++ Apps

Ensure to install a recent version of the Windows SDK. RAD Studio currently supports these three versions:

  • Version 10.0.26100.4654
  • Version 10.0.26100.4948
  • Version 10.0.26100.4188

If you have an earlier version of the Windows SDK installed, the dialog shown below appears the first time you build a C++ project. RAD Studio attempts to copy SDK headers, but could not find at least one of the three versions of the Windows SDK that RAD Studio supports.

300px

SDK at Build Time

When attempting to build a C++ project for the first time, the IDE will prompt you to create a Windows SDK by displaying the Add a New SDK window.

Fill out all the fields and click Ok to create a new Windows SDK.

While the new SDK is being created, behind the scenes, the IDE is collecting headers from the MS SDK. Therefore, a prompt appears requesting users to allow copying the MS SDK headers to the $BDS/include/windows/sdk folder.

Selecting "Yes" begins the process of copying the headers.

It is important to note that several SDK headers, such as comdef.h, dmusici.h, or dmusicf.h, are deprecated. These are no longer part of the official Windows SDK. If your application needs these headers, grab a copy of an earlier version of C++Builder (v12 or earlier).

See Also