DirectX installation
-
I downloaded the DirectX 9.0c SDK (C#) from the Microsoft site and then installed it. After that I wanted to compile a sample C# source and discovered that the References to DirectX were not available! How do I get the DirectX assemblies on my PC so that I can use DirectX namespace(s)? Do I need to download and install some more software for this? What do I need and where do I get it from? Please some advice. Thank you, Ranger.
-
I downloaded the DirectX 9.0c SDK (C#) from the Microsoft site and then installed it. After that I wanted to compile a sample C# source and discovered that the References to DirectX were not available! How do I get the DirectX assemblies on my PC so that I can use DirectX namespace(s)? Do I need to download and install some more software for this? What do I need and where do I get it from? Please some advice. Thank you, Ranger.
Make sure you actually add a reference to the DirectX libraries in the Visual Studio Project (assuming, of cause, you're using VS). It isn't enough to just install the libraries.
-
I downloaded the DirectX 9.0c SDK (C#) from the Microsoft site and then installed it. After that I wanted to compile a sample C# source and discovered that the References to DirectX were not available! How do I get the DirectX assemblies on my PC so that I can use DirectX namespace(s)? Do I need to download and install some more software for this? What do I need and where do I get it from? Please some advice. Thank you, Ranger.
It turned out I had only installed the DirectX SDK and not the runtime library. It seems that new books about DirectX (like version 10) no longer use the C# programming language but use the C++ language instead. From what I have read about DirectX I figure it is much more complicated than OpenGL, so I will stick to the latter... Ranger.