开发者

Windows Phone 7 SDK C or C++

开发者 https://www.devze.com 2023-04-08 04:18 出处:网络
Is there any way to use C o开发者_如何学运维r C++ on Windows Phone 7? Also i need access to OpenGL from C/C++ and some kind of adapter to C from, for example, C#.Short answer: you cannot. You have to

Is there any way to use C o开发者_如何学运维r C++ on Windows Phone 7? Also i need access to OpenGL from C/C++ and some kind of adapter to C from, for example, C#.


Short answer: you cannot. You have to use C# and XNA.

Long answer:

  • There is no OpenGL API on WP7. You have to use XNA for 3D graphics.

  • You cannot use C++, only managed (.Net) languages. I'm not an expert but I believe officially supported languages are C#, VB.net and F# at the moment. However, you may be able to use other languages as long as you manage to compile those into valid MSIL assembly.

  • Support for non-managed, native languages such as C++ is not coming anytime soon AFAIK.


On Windows Phone 8, you finally can.

0

精彩评论

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

关注公众号