【发布时间】: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