firemail

标题: WinRT [打印本页]

作者: Qter    时间: 2023-5-18 09:07
标题: WinRT
https://learn.microsoft.com/zh-cn/windows/uwp/cpp-and-winrt-apis/intro-to-using-cpp-with-winrt
C++/WinRT 是 Windows 运行时 (WinRT) API 的完全标准新式 C++17 语言投影,以基于标头文件的库的形式实现,旨在为你提供对新式 Windows API 的一流访问。 利用 C++/WinRT,你可以采用任何符合标准的 C++17 编译器创作和使用 Windows 运行时 API。 Windows SDK 包含 C++/WinRT;它已在版本 10.0.17134.0(Windows 10,版本 1803)中引用。
C++/WinRT 是 Microsoft 推荐的用于替代 [color=var(--theme-hyperlink)]C++/CX 语言投影和 [color=var(--theme-hyperlink)]Windows 运行时 C++ 模板库 (WRL) 的替代品。 [color=var(--theme-hyperlink)]有关 C++/WinRT 的主题的完整列表介绍了如何与 C++/CX 和 WRL 进行互操作,以及如何通过它们进行移植。

语言投影
Windows 运行时基于组件对象模型 (COM) API,根据设计,可通过语言投影 访问它。 投影将隐藏 COM 详细信息,并为给定语言提供更自然的编程体验。




作者: Qter    时间: 2023-6-4 12:59
https://learn.microsoft.com/zh-c ... sing-cpp-with-winrt




欢迎光临 firemail (http://www.firemail.wang:8088/) Powered by Discuz! X3