1)获得高性能
2)使用现有的c代码库和引擎
3)编写跨平台代码(例如,用于ios和android)@H_301_5@
它不需要完全本机c,我可以使用托管代码来执行ui的事情,比如ios中的object-c和android中的java,但是除了接口之外,我可以使用本机c代码吗?@H_301_5@
解决方法
Please answer this question: If I decide to write C++ GUI application
in Metro style am I forced to use all these proprietary ref,sealed,
^,Platform::String^ extensions for GUI components or not?@H_301_5@@Tomas: No,you are not forced to use them. We are providing two
supported ways:@H_301_5@1) These language extensions (C++/CX).@H_301_5@
2) A C++ template library (WRL),see Windows Kits\8.0\Include\winrt\wrl as Yannick mentioned. WRL is a C++ library-based solution sort of along the lines of ATL,which offers what I think you’re looking for — template wrapper/convenience classes and explicit smart pointers and such.@H_301_5@