开发者

WinRT and build-in Windows 8 Apps

开发者 https://www.devze.com 2023-04-06 01:45 出处:网络
Can non-Metro Windows apps (ex: Explorer) be bu开发者_如何学JAVAilt with the new WinRT, or must they still be Win32 based?I asked this during the \'Ask the Experts\' session at //Build/. The answer wa

Can non-Metro Windows apps (ex: Explorer) be bu开发者_如何学JAVAilt with the new WinRT, or must they still be Win32 based?


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."

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


From "Dev Center - Metro style apps"

A sticky posted by moderator on Thursday, November 03, 2011 1:16 AM

We have received a number of inquiries in this area. The documentation will be expanding as the Windows 8 project progresses to include more API specific details. It is possible to use WinRT from Desktop applications. WinRT APIs may be tied to Metro style apps, Desktop apps or potentially available to both. The documentation will list which environments (Desktop, Metro style or both) a given API works in. Note: Custom WinRT components are only supported in Metro style applications. They are not supported in Desktop applications.

0

精彩评论

暂无评论...
验证码 换一张
取 消