[Request] Clarifiactions about Native C++ Manged C++ and DirectX
I start Learning C++ Since few Weeks.. and I have some clarifications about { Native C++ , Managed C++ & DirectX}
I am using Visual Studio 2010 :
Q1. Can I write native C++ by Visual studio 2010 or Not?
Q2. If I want to write Application by Visual studio 2010 , and I need to use DirectX in my code
is it allowed to use Managed code with Native code (DirectX) .. I am confused for this point
Q3. Microsoft released also SlimDx .. is slimDX to solve this problem (Manged + Unmanaged)codes
Re: [Request] Clarifiactions about Native C++ Manged C++ and DirectX
1. If you have the full version of Visual Studio it supports native C++ / managed C++ / C# and more. If you have the Express versions you have to install one for native/managed C++ and one for C#
3. I haven't used it but according to what they say at there homepage http://slimdx.org/ yes.
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it.
- Brian W. Kernighan
Re: [Request] Clarifiactions about Native C++ Manged C++ and DirectX
2. Yes, you can use DirectX both in native C++ application, and in mixed C++/CLI code.
3. It looks like SlimDX is .NET DirectX wrapper. You don't need it in C++. In C++/CLI, however, you can use it as any other third-party .NET library, but this doesn't make sense - why do you need C++ to write client code for .NET?
Bookmarks