{"id":17366,"date":"2017-11-01T17:59:41","date_gmt":"2017-11-02T00:59:41","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vcblog\/?p=17366"},"modified":"2022-06-28T19:11:54","modified_gmt":"2022-06-28T19:11:54","slug":"cppwinrt-is-now-included-the-windows-sdk","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/cppwinrt-is-now-included-the-windows-sdk\/","title":{"rendered":"C++\/WinRT is now included the Windows SDK"},"content":{"rendered":"<p>If you write code for the Universal Windows Platform you&#8217;re familiar with the C++\/CX language extensions. These extensions let the compiler create &#8220;language projections&#8221; for the Windows Runtime (WinRT). Language projections encapsulate the underlying WinRT APIs so that they can be called in a natural fashion.<\/p>\n<p>The <a href=\"https:\/\/msdn.microsoft.com\/en-us\/magazine\/mt745094.aspx\">C++\/WinRT project<\/a> 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 <a href=\"https:\/\/blogs.windows.com\/buildingapps\/2017\/11\/01\/windows-10-sdk-preview-build-17025\/#ryPH3zAy6yk2cIRX.97\">build 17025 of the Windows SDK Insider Preview<\/a>.<\/p>\n<p>You can <a href=\"https:\/\/moderncpp.com\/2017\/11\/01\/cppwinrt-in-the-windows-sdk\/\">read more about this release of C++\/WinRT on the moderncpp blog<\/a>.<\/p>\n<p>We on the Visual C++ team find C++\/WinRT to be one of the best test cases for our compiler as <a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/c-standards-conformance-from-microsoft\/\">MSVC approaches conformance with the C++ Standard<\/a>. 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 (<a href=\"mailto:visualcpp@microsoft.com\">visualcpp@microsoft.com<\/a>) and you can provide feedback via <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio-2017\">Help &gt; Report A Problem in the product<\/a>, or via <a href=\"https:\/\/developercommunity.visualstudio.com\/topics\/C%2B%2B.html\">Developer Community<\/a>. You can also find us on Twitter (<a href=\"https:\/\/twitter.com\/visualc\">@VisualC<\/a>) and Facebook (<a href=\"https:\/\/www.facebook.com\/msftvisualcpp\">msftvisualcpp<\/a>).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you write code for the Universal Windows Platform you&#8217;re familiar with the C++\/CX language extensions. These extensions let the compiler create &#8220;language projections&#8221; 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 [&hellip;]<\/p>\n","protected":false},"author":312,"featured_media":35994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-17366","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cplusplus"],"acf":[],"blog_post_summary":"<p>If you write code for the Universal Windows Platform you&#8217;re familiar with the C++\/CX language extensions. These extensions let the compiler create &#8220;language projections&#8221; 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 [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/17366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/312"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=17366"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/17366\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/35994"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=17366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=17366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=17366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}