Effective C++/WinRT for UWP and Win32

Play Effective C++/WinRT for UWP and Win32
Sign in to queue


C++/WinRT is designed to give C++ developers uncompromising performance as well as amazing productivity. Come and learn how to make effective use of C++ for the most demanding projects, whether it’s a system component, desktop or console app, or UWP app. In this session, we’ll also walk you through our early support for creating a XAML application in standard C++ and provide tips and guidance on how to move your C++/CX code to use standard C++ with C++/WinRT.



Session Type:

Breakout 75 minute




Sheraton: Grand Ballroom B



Download this episode

Download captions

The Discussion

  • User profile image

    Switching thread contexts with a `co_await` looks a little scary to me. Not because its new and different, but because it looks fragile. In production code that doesn't fit on a single slide, it seems dangerously easy to miss things and move some code that now executes on the wrong thread. 


    So, is it possible to dispatch code to another thread with a more contained scope like a lambda? Something like...

    MyControl.Dispatcher.Invoke([] {
        // several lines of code that *must* run on the UI thread...

  • User profile image
    Smart Gotodo

    C++ becoming C#, great and awsome!

Add Your 2 Cents