Installing DirectX SDK

Hello.I am using Microsoft Visual Studio 2005.I downloaded the DirectX SDK from December and I have installed on my computer but I cannot build DirectX Aplication.Why I use VB.

The 2nd question:

"VC# is better for DirectX applications "



Answer this question

Installing DirectX SDK

  • bhakes

    I try to use some samples but I receive a lot of errors like:

    Error 1 The type 'Microsoft.DirectX.Direct3D.Mesh' exists in both 'd:\WINDOWS\assembly\GAC\Microsoft.DirectX.Direct3DX\1.0.2909.0__31bf3856ad364e35\Microsoft.DirectX.Direct3DX.dll' and 'd:\WINDOWS\assembly\GAC_32\Microsoft.DirectX\2.0.0.0__31bf3856ad364e35\Microsoft.DirectX.dll' D:\Program Files\Microsoft DirectX SDK (December 2005)\Samples\Managed\Common\dxmutmesh.cs 19 17 SampleFramework_2003


  • linuxfreak

    Probably becuase you do not have your references set up correctly.

  • MichelG

    => Is good to use DirectX for a "Visualization" tool
  • SoccerDude

    and how I set up my references
  • Maher K. Al-Jendasi

    And a little thing:

    When a write:

    Imports Microsoft.(I don't have DirectX like an option)


  • Pennan

    My error message contains the folder "C:\Windows\Assembly\GAC.." (I don't have such folder) not "C:\Windows\Microsft .NET"

    I wan't to build in my VB application a "Visualization" tool like "Ambiance" from Windows Media Player 10


  • qoo942

    http://www.thezbuffer.com/articles/385.aspx

    You should really search these forums before posting, this question has been asked many times in the forums.



  • Pl_john

    You will need to give us more information than that. What are you trying to do (step by step) and what errors are you getting.

    C# and VB are just as good as each other for DirectX applications apart from 2 things:

    1. There are far more samples and tutorials in C# than in VB - if you can read C# well this won't bother you

    2. C# allows unsafe code with pointers etc. There are some occasions where this is helpful to get the very highest performance which would be important in a large complex game. However as a beginner this really won't affect you.



  • Darren Harvey

    In VB.Net look in the project properties - there is a tab called references where you can add and remove what you need.

    This really is a very basic.Net question and not approrpiate for these forums. You should probably find a beginners VB.Net book or find an online tutorial to get you beyond this otherwise getting to your media visualizer is going to be a very long process.



  • allen herring

    Ok.Tranks! You can recomand me some online tutorials (something good)
  • Installing DirectX SDK