Sign in to follow this  

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

Recommended Posts

akira32    112
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
jpetrie    13099
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
LosBrutalos    122
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this