Windows 11 是否支持带有 C++/WinRT 的应用程序

Are applications with C++/WinRT supported on Windows 11

随着 Windows 11 作为 Windows 10 之后的新 OS 的到来。带有为 Windows 10 构建的 C++/WinRT 库的应用程序是否仍然可以使用并且Windows 11 支持没有任何问题?

Windows 11 支持与 Windows 10 相同的应用程序(一般来说),包括使用 C++/WinRT 投影或 C++/ CX 语言扩展。

Microsoft Docs: Compatibility for Windows 11

用于 Windows 11 的 Win32 桌面应用程序的受支持操作系统 GUID 与用于 Windows 10 的相同。参见 Windows version check and this blog post

Not directly related to your question, but FYI: Windows 11 on ARM64 adds support for x64 emulation. Windows 10 on ARM64 already supported x86 emulation. There is now a new ARM64EC ABI for ARM64 platforms as well.