{"id":2763,"date":"2011-10-04T09:03:39","date_gmt":"2011-10-04T09:03:39","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vcblog\/2011\/10\/04\/c9goingnative-2-the-windows-runtime-library-wrl\/"},"modified":"2021-10-04T15:46:48","modified_gmt":"2021-10-04T15:46:48","slug":"c9goingnative-2-the-windows-runtime-library-wrl","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/c9goingnative-2-the-windows-runtime-library-wrl\/","title":{"rendered":"C9::GoingNative 2: the Windows Runtime Library (WRL)"},"content":{"rendered":"<p><a href=\"https:\/\/channel9.msdn.com\/Shows\/C9-GoingNative\/GoingNative-2-C-at-BUILD-Windows-Runtime-LibraryWRL-Meet-Tarek-and-Sridhar\"><img decoding=\"async\" style=\"margin: 0px 5px 0px 0px\" title=\"Click to watch the episode in Channel 9\" border=\"0\" alt=\"Click to watch the episode in Channel 9\" align=\"left\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2011\/10\/5123.image_1D27614A-1.png\" width=\"244\" height=\"138\" \/><\/a>We&#8217;re back with <a href=\"https:\/\/channel9.msdn.com\/Shows\/C9-GoingNative\/GoingNative-2-C-at-BUILD-Windows-Runtime-LibraryWRL-Meet-Tarek-and-Sridhar\">the third installment of <strong>C9::GoingNative<\/strong><\/a>.<\/p>\n<p>At the recent \/\/BUILD conference, we introduced a series of technologies targeting the upcoming version of the Windows platform. One of those consists in some extensions to the C++ language, intended to help developers bridge their C++ logic to the <em>Windows Runtime (WinRT) environment<\/em>.<\/p>\n<p><em>C++\/CX<\/em> (the name of these extensions) is a lightweight syntax for COM creation, being COM the framework that allows components written in different languages to interoperate in Windows. In practice, it allows the user interface to be designed with <em>ad hoc<\/em> tools like MS Expression (XAML) or any HTML5 editor, while adding application behavior in C++.<\/p>\n<p>The reception of C++\/CX is mixed so far. It&rsquo;s being appreciated for those developers who considered COM a complex technology despite its usefulness. It&rsquo;s not much liked by developers who dealt with COM or the Active Template Library (ATL), an abstraction layer to make COM creation easier.<\/p>\n<p>These last ones asked about an approach that doesn&rsquo;t involve non-standard language extensions but an API that encapsulated COM complexities. Such API is called <em>Windows Runtime Library (WRL)<\/em> and follows the principles of ATL, re-implementing those for the Windows Runtime though.<\/p>\n<p>In this episode, we interviewed <strong>Sridhar Madhugiri<\/strong>, one of the authors of the WRL, who answered for us questions like <em>When<\/em> would you use WRL? <em>Why<\/em> would you use WRL? <em>How<\/em> do you use WRL?<\/p>\n<p>Prior to that <strong>Tarek Madkour<\/strong>, a leader on the VC++ team, shares some wise perspectives on modern C++ for Windows 8 (Metro style apps). <a href=\"https:\/\/channel9.msdn.com\/Shows\/C9-GoingNative\/GoingNative-2-C-at-BUILD-Windows-Runtime-LibraryWRL-Meet-Tarek-and-Sridhar\">Enjoy this episode!!<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;re back with the third installment of C9::GoingNative. At the recent \/\/BUILD conference, we introduced a series of technologies targeting the upcoming version of the Windows platform. One of those consists in some extensions to the C++ language, intended to help developers bridge their C++ logic to the Windows Runtime (WinRT) environment. C++\/CX (the name [&hellip;]<\/p>\n","protected":false},"author":289,"featured_media":35994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[124,125,126,127],"class_list":["post-2763","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cplusplus","tag-windows-runtime","tag-windows-runtime-library","tag-winrt","tag-wrl"],"acf":[],"blog_post_summary":"<p>We&#8217;re back with the third installment of C9::GoingNative. At the recent \/\/BUILD conference, we introduced a series of technologies targeting the upcoming version of the Windows platform. One of those consists in some extensions to the C++ language, intended to help developers bridge their C++ logic to the Windows Runtime (WinRT) environment. C++\/CX (the name [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/2763","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\/289"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=2763"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/2763\/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=2763"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=2763"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=2763"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}