Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. DirectX installation

DirectX installation

Scheduled Pinned Locked Moved C#
questioncsharpgraphicsgame-dev
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ranger49
    wrote on last edited by
    #1

    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.

    T R 2 Replies Last reply
    0
    • R Ranger49

      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.

      T Offline
      T Offline
      Tony Richards
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • R Ranger49

        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.

        R Offline
        R Offline
        Ranger49
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups