WinRT 和内置 Windows 8 应用程序 [英] WinRT and build-in Windows 8 Apps

查看:29
本文介绍了WinRT 和内置 Windows 8 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

非 Metro Windows 应用程序(例如:资源管理器)可以使用新的 WinRT 构建,还是必须仍然基于 Win32?

Can non-Metro Windows apps (ex: Explorer) be built with the new WinRT, or must they still be Win32 based?

推荐答案

我在//Build/的咨询专家"会议期间问过这个问题.答案是是的,在合理范围内.从桌面应用程序调用时,并非所有 WinRT api 都可以运行 - 例如,任何特定于 Metro 的 api 都将失败.没有明确的列表可以说明哪些适用于桌面(非 Metro)应用程序."

I asked this during the 'Ask the Experts' session at //Build/. The answer was "Yes, within reason. Not all of the WinRT api's will function when called from desktop apps - for example any metro specific ones will fail. No explicit list of which ones work from desktop (non-metro) apps is available."

文档 已更新以提供可从桌面使用的 WinRT api 列表.

It appears that the documentation has been updated to provide a list of WinRT api's available from the desktop.

这篇关于WinRT 和内置 Windows 8 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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