【问题标题】:Are applications with C++/WinRT supported on Windows 11Windows 11 是否支持使用 C++/WinRT 的应用程序
【发布时间】:2021-12-05 10:27:11
【问题描述】:

随着 Windows 11 作为 Windows 10 之后的新操作系统的到来。具有为 Windows 10 构建的 C++/WinRT 库的应用是否仍然可以在 Windows 11 上毫无问题地使用和支持?

【问题讨论】:

  • 不存在“C++/WinRT 应用程序”。 C++/WinRT 是一个库。它使编写 C++ 代码时访问 Windows 运行时类型更加方便。没有来自 Microsoft 的消息甚至远程暗示弃用 Windows 11 的 Windows 运行时。
  • 这仍然不是一个有意义的问题。与使用 C++ 相比,C++/WinRT 不会决定您的程序是否在 Windows 11 上运行。您的程序是否在 Windows 11 上运行取决于您的程序执行的操作、它使用的系统服务、它对其环境做出的假设等等。 Feature deprecations and removals 列出了 Windows 11 中不再可用的服务。

标签: c++-winrt windows-11


【解决方案1】:

Windows 11 支持与 Windows 10 相同的应用程序(一般而言),包括使用 C++/WinRT 投影或 C++/CX 语言扩展编写的通用 Windows 平台 (UWP) 应用程序。

Microsoft Docs: Compatibility for Windows 11

Windows 11 的 Win32 桌面应用程序所支持的 OS GUID 与 Windows 10 的相同。请参阅 Windows version checkthis blog post

与您的问题没有直接关系,但仅供参考:ARM64 上的 Windows 11 增加了对 x64 仿真的支持。 ARM64 上的 Windows 10 已经支持 x86 仿真。现在还有一个适用于 ARM64 平台的新 ARM64EC ABI。

【讨论】:

    猜你喜欢
    • 2011-02-09
    • 1970-01-01
    • 2014-06-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-03-27
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多