   How do I use the DirectX 8.0 SDK with Visual Studio Express 2005 C#?
  I'm trying to be specific here as I searched the forum and Googled and the results were all over the place. I am following the book:Beginning 3D Game Programming by Tom MillerI have the DirectX 8.1 SDK installed, and I am using Visual Studio Express 2005 C#. Eventaully I will move on to Visual Studio Express 2008. Unlike the C++ part of Visual Studio Express, the C# portion does not have any way for you to set the paths to the DirectX libraries. So how do I set up DirectX to work with my current coding environment? Also is there anything else I need to know concerning later builds of DirectX and the 2008 version of Visual Studio Express?I'll be following a lot of older books using the Visual Basic, C++, C# and DirectX languages. I just want to be able to complete my assignments and compile my code.Thanks for your help!- Deathbliss   
  You can't.C# is a managed language, it cannot directly consume native (C++) libraries. The DirectX 8 SDK did not have a managed wrapper, and the wrapper that shipped with DirectX 9 is now deprecated. You can use a third-party wrapper such as SlimDX if you want to continue using C#.Quote:I'll be following a lot of older books using the Visual Basic, C++, C# and DirectX languages.Note that DirectX is an API (more specifically a collection of APIs), not a language.   ;  Thanks for the tip on SlimDX! I'm fumbling through this now, but won't know if everything is working for a little while.I have to tentatively disagree with you regarding DirectX and C# however. I unearthed the December 2005 DirectX SDK and installed it. Afterwards Visual Studio 2005 was automatically updated to tie in with DirectX, both in the C++ and C# environments. You could access the DirectX references in the C# side, and the paths had been set in the C++ side. I'm not using DirectX though, going to try to use SlimDX as it is regularly updated and supported.Later!- Deathbliss   ;Quote:Original post by DeathblissI have to tentatively disagree with you regarding DirectX and C# however. I unearthed the December 2005 DirectX SDK and installed it. Afterwards Visual Studio 2005 was automatically updated to tie in with DirectX, both in the C++ and C# environments.That SDK is for DirectX 9, not DirectX 8 as you were asking about originally. jpetrie was 100% correct in what he told you. Managed DirectX 8 SDK did not have a managed wrapper (absolutely true), and the wrapper that shipped with DirectX 9 (ie, the December 2005 SDK) is now deprecated (you won't get any support from MS with it, it will never be updated, bugs will never be fixed, etc).   