Reputation: 1422
Is there any way to use C or 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#.
Upvotes: 1
Views: 1040
Reputation: 10106
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.
Upvotes: 3