|
-
July 10th, 2012, 02:58 AM
#1
[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
Regards,,
-
July 10th, 2012, 04:22 AM
#2
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#
2. Managed and native C++ can be mixed. See this http://msdn.microsoft.com/en-us/library/ms973872.aspx
3. I haven't used it but according to what they say at there homepage http://slimdx.org/ yes.
-
July 11th, 2012, 09:46 AM
#3
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|