Universal Windows Apps (C++)

Universal Windows Platform (UWP) apps embody a set of design principles that emphasize simple user interfaces that are centered around content that automatically adjusts for different screen sizes on different devices. You create the UI in XAML markup, and the code-behind in native C++. You can also create components (DLLs) that can be consumed by UWP apps that are written in other languages. The API surface for UWP apps is the Windows Runtime, which is a well-factored library that provides a wide variety of operating system services.

Tip

For Windows 10, you can use the Desktop App Converter to package your existing desktop application for deployment through the Windows Store. For more information, see Using Visual C++ Runtime in Centennial project and Bring your desktop app to the Universal Windows Platform (UWP) with the Desktop Bridge.

UWP apps that Use C++/CX

Visual C++ language reference (C++/CX) Describes the set of extensions that simplify C++ consumption of Windows Runtime APIs and enable error handling that's based on exceptions.
Building apps and libraries (C++/CX) Describes how to create DLLs and static libraries that can be accessed from a C++/CX app or component.
Tutorial: Create your first Windows Store app using C++ A walkthrough that introduces the basic concepts of Universal Windows Platform app development in C++. (Not yet updated for UWP development on Windows 10.)
Creating Windows Runtime Components in C++ Describes how to create DLLs that other Universal Windows Platform apps and components can consume.
Developing games Describes how to use DirectX and C++ to create games.

Universal Windows Platform Apps that Use the Windows Runtime C++ Template Library (WRL)

The Windows Runtime C++ Template Library provides the low-level COM interfaces by which ISO C++ code can access the Windows Runtime in an exception-free environment. In most cases, we recommend that you use C++/CX instead of the Windows Runtime C++ Template Library for Universal Windows Platform app development. For information about the Windows Runtime C++ Template Library, see Windows Runtime C++ Template Library (WRL).

See Also

Visual C++