Jump to content
  • Advertisement
Sign in to follow this  
akira32

[SlimDX]Visual C#,Visual Basic.Net must use SlimDX?

This topic is 2997 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

If I want to use DirectX in my Visual C# or Visual Basic.Net project, I must use SlimDX? Is SilmDX is the one choice?(exclude XNA). Can I just load the DirectX's dll and directly use the functions and classes in DLL? Can Visual Basic.Net use XNA to render? How to achieve this goal?(by dll)

Share this post


Link to post
Share on other sites
Advertisement
Yes, you need to use SlimDX or XNA. You could technically use MDX, but you should not since it is no longer supported by Microsoft.

You can't use the native DirectX DLLs because they're native, and C# and VB are managed languages. You need an interop layer, which is what SlimDX provides.

Share this post


Link to post
Share on other sites
To this issue all is just said above - i prefer and recommend SlimDX -
Have a look on MS-history to MDX:
VS 2003 - MDX - Full interegration with MSDN and all you wish or want, syntax highlighter für shader , etc pp.... rly nice - so far.
VS 2005 - MS pretend to work on MDX 2.0 - what does we get? a bunch of sh...
No syntax highligthing for shader any more - no integrated help.
To this time MDX was obviously dead.
Now MS has something overcharged called XNA ....
... i dont wanna have a technology or api which change every few years.
What about next 1-2 years ? We may get something like directx12 ....

Another new api ?
no - thank you :D

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!