C++/WinRT is now included the Windows SDK

Andrew

November 1st, 2017

If you write code for the Universal Windows Platform you’re familiar with the C++/CX language extensions. These extensions let the compiler create “language projections” for the Windows Runtime (WinRT). Language projections encapsulate the underlying WinRT APIs so that they can be called in a natural fashion.

The C++/WinRT project creates these language projections in standard C++ code. Using C++/WinRT previously required that you clone their repo from GitHub. C++/WinRT is now included in build 17025 of the Windows SDK Insider Preview.

You can read more about this release of C++/WinRT on the moderncpp blog.

We on the Visual C++ team find C++/WinRT to be one of the best test cases for our compiler as MSVC approaches conformance with the C++ Standard. As you try new, standards-conforming features out in MSVC, please be sure to give us your feedback. We can be reached via the comments below, via email (visualcpp@microsoft.com) and you can provide feedback via Help > Report A Problem in the product, or via Developer Community. You can also find us on Twitter (@VisualC) and Facebook (msftvisualcpp).