开发者

Can I use C++ with Windows Phone 7?

开发者 https://www.devze.com 2023-04-03 01:26 出处:网络
I\'m going to write an application for iOS, Mac OS X and Wi开发者_Python百科ndows Phone 7. To minimize the amount of work, I\'d like to write the model only once, in C++ (otherwise I\'d have to do it

I'm going to write an application for iOS, Mac OS X and Wi开发者_Python百科ndows Phone 7.

To minimize the amount of work, I'd like to write the model only once, in C++ (otherwise I'd have to do it twice; in Objective-C and in C#).

Can I use C++ in a Windows Phone 7 application, together with C#?


No you cannot use C++ for WP7 apps. However you might be able to use Monotouch to write some shared code in C# between the 2 platforms.


Taken from here: Windows Mobile 7 and C++

All Windows Mobile 7 (now called Windows Phone 7 ) development, at least initially, will be in managed code. Development using native languages like C/C++ is not supported for third parties. You can develop apps and games for Windows Phone 7 using the Silverlight or XNA framework, and the initial release supports only C#, VB support is supposed to be coming out soon.

It's from June 2010.

0

精彩评论

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

关注公众号