到目前为止,我发现了MSDN介绍Getting started with Metro style apps,它链接到可用的API集,包括两个本机API:
> Windows Runtime(WinRT) – “操作系统内置的本机API。
Metro风格应用的基础。在C中实现并支持
JavaScript,C#,Visual Basic和C,以一种自然的感觉
每种语言“。
> Win32 and COM for Metro style apps – “Win32的子集
和COM API,您可以在Metro风格的应用程序中使用“。Quote:
Metro style apps can use a subset of the Win32 and COM API. This
subset of APIs was chosen to support key scenarios for Metro style
apps that were not already covered by the Windows Runtime,HTML/CSS,
or other supported languages or standards. The Windows App
Certification Kit ensures that your app uses only this subset of the
Win32 and COM API.
旁注:根据Metro Windows Store博客和获奖者已经closed on January 8,2012的第一个Metro应用程序竞赛已经在07年7月底 – 这些Metro应用程序已经可以通过Windows 8 Consumer Preview。
解决方法
Writing Hello World for WinRT in Delphi
There is relatively little information out there on developing Native
Metro applications,especially for languages other than those that
Microsoft has provided projections for (C++,C#,and JavaScript).
Other languages,including Delphi,need to create their own
projections before they can use them effectively. I’ve been
investigating getting Delphi to produce native applications for WinRT.
他的文章Hello World: Hooking events显示了如何使用Delphi的Metro“组播委托”事件处理程序。