WinRT 是否能够运行 Win 7 和 8 桌面应用程序? [英] Is WinRT capable of running Win 7 and 8 desktop apps?

查看:23
本文介绍了WinRT 是否能够运行 Win 7 和 8 桌面应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我阅读了很多关于它的不同意见,但 WinRT 是像 Win 7 和 8 那样的实际桌面操作系统吗?您能否运行功能齐全的桌面应用程序和游戏?

I read a lot of different opinions on it, but is WinRT an actual desktop OS like Win 7 and 8? Will you be able to run fully featured desktop applications and games?

推荐答案

WinRT 不是桌面或操作系统,它是一个 API.就像传统的winapi一样.它与 winapi 根本不同,它基于 COM 而不是基于 C,并且它不公开所有底层操作系统功能.并在一个强大的沙箱中运行,以防止使用恶意软件喜欢使用的那种 API.粗略地说,您需要在平板电脑上安全运行应用程序并让电池持续使用一段时间的子集.

WinRT is not a desktop or an OS, it is an API. Just like the traditional winapi. It is fundamentally different from the winapi, it is COM based instead of C based and it doesn't expose all of the underlying OS capabilities. And runs in a strong sandbox that prevents using the kind of apis that malware likes to use. Roughly, the kind of subset you'd need to run apps on a tablet computer safely and keep a battery going for a while.

您仍然可以在完整版的 Windows 8 上运行传统的 winapi 桌面应用程序,但不能在即将推出的带有 ARM 处理器的平板电脑版本上运行.创建 Metro 风格应用需要使用 WinRT.CLR 4.5 版中提供了一种语言投影,它需要使用.NET for Metro 应用程序"平台目标.它是常规 .NET Framework 的大量修剪版本,删除了与 WinRT 不兼容的类和/或方法.并且添加了 WinRT 特定的类,特别是用于实现 UI 的类.

You can still run traditional winapi desktop apps on the full version of Windows 8, but not on the upcoming tablet version with an ARM processor. Creating a Metro style app requires using WinRT. There's a language projection available for it in CLR version 4.5 which requires using the ".NET for Metro apps" platform target. It is a heavily trimmed version of the regular .NET Framework, classes and/or methods that are not WinRT compatible are removed. And WinRT specific classes were added, particularly the kind that you use to implement a UI.

这篇关于WinRT 是否能够运行 Win 7 和 8 桌面应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆