Archived

This topic is now archived and is closed to further replies.

leafsWinTheCup

Managed DirectX question

Recommended Posts

I was wondering if someone could clarify if you can use managed code or not from C++. I thought not but then I noticed on MSDN... "The following are the managed code languages supported by DirectX 9.0 and documented in the software development kit (SDK). Microsoft Visual C#™ Microsoft Visual Basic® .NET Microsoft Visual C++®" But later on on the MSDN web page they mention only C# and VB tutorials in the SDK. I had done a little bit of work on an app for a tablet PC and most of the info from its SDK was for C#. I found this more than a little bit annoying as I was using C++, and somethings were difficult to convert. So my question is can you use managed code from C++, and if so are there tutorials written in C++ in the SDK?

Share this post


Link to post
Share on other sites
You can use managed directx from any .NET language, including managed C++. There''s an unmanaged interface too, though. (which may be better if you don''t want to require that the .NET runtime be installed)

By the way, there are in fact C++ examples in the SDK.

I''m hip because I say "M$" instead of "MS".

Share this post


Link to post
Share on other sites