Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0545cfd

Browse files
author
Michael Blome
committed
added c++/winrt note to top cpp/cx page
1 parent afded21 commit 0545cfd

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

docs/cppcx/visual-c-language-reference-c-cx.md

+20-15
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,28 @@
1-
---
2-
title: "Visual C++ Language Reference (C++/CX) | Microsoft Docs"
3-
ms.custom: ""
4-
ms.date: "09/15/2017"
5-
ms.technology: "cpp-windows"
6-
ms.reviewer: ""
7-
ms.suite: ""
8-
ms.tgt_pltfrm: ""
9-
ms.topic: "language-reference"
10-
ms.assetid: 3f6abf92-4e5e-4ed8-8e11-f9252380d30a
11-
caps.latest.revision: 27
12-
author: "ghogen"
13-
ms.author: "ghogen"
14-
manager: "ghogen"
15-
ms.workload: ["cplusplus"]
1+
---
2+
title: "Visual C++ Language Reference (C++/CX) | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "09/15/2017"
5+
ms.technology: "cpp-windows"
6+
ms.reviewer: ""
7+
ms.suite: ""
8+
ms.tgt_pltfrm: ""
9+
ms.topic: "language-reference"
10+
ms.assetid: 3f6abf92-4e5e-4ed8-8e11-f9252380d30a
11+
caps.latest.revision: 27
12+
author: "ghogen"
13+
ms.author: "ghogen"
14+
manager: "ghogen"
15+
ms.workload: ["cplusplus"]
1616
---
1717
# Visual C++ Language Reference (C++/CX)
1818

1919
C++/CX is a set of extensions to the C++ language that enable the creation of Windows apps and Windows Runtime components in an idiom that is as close as possible to modern C++. Use C++/CX to write Windows apps and components in native code that easily interact with Visual C#, Visual Basic, and JavaScript, and other languages that support the Windows Runtime. In those rare cases that require direct access to the raw COM interfaces, or non-exceptional code, you can use the [Windows Runtime C++ Template Library (WRL)](../windows/windows-runtime-cpp-template-library-wrl.md).
2020

21+
> [!NOTE] C++/WinRT is a new, standard C++17 language projection for Windows Runtime APIs. It's available in the latest Windows 10 SDK from version 1803 onward. C++/WinRT is implemented entirely in header files, and designed to provide you with first-class access to the modern Windows API.
22+
23+
> With C++/WinRT, you can both consume and author Windows Runtime APIs using any standards-compliant C++17 compiler. C++/WinRT typically performs better and produces smaller binaries than any other language option for the Windows Runtime. We will continue to support C++/CX and WRL, but highly recommend that new applications use C++/WinRT. For more information, see [C++/WinRT](https://docs.microsoft.com/windows/uwp/cpp-and-winrt-apis/index).
24+
25+
2126
The new model represents the next generation of native C++ programming on Windows. By using it, you can create:
2227

2328
- C++ Universal Windows Platform (UWP) apps that use XAML to define the user interface and use the native stack. For more information, see [Create a "hello world" app in C++ (UWP)](/windows/uwp/get-started/create-a-basic-windows-10-app-in-cpp).

0 commit comments

Comments
 (0)