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. C# directX how to getit up?

C# directX how to getit up?

Scheduled Pinned Locked Moved C#
csharpvisual-studiographicsgame-devhelp
3 Posts 3 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.
  • M Offline
    M Offline
    mercenary01
    wrote on last edited by
    #1

    Hi, I just install directX 9.0b and using VS 2005 but I cannot build any of the directX demo projects found on this site. I have the following error amoung others The type or namespace name 'DirectX' does not exist in the namespace 'Microsoft after installing DirectX is it necessay to set a path to it?? Thanks. Samuel

    L T 2 Replies Last reply
    0
    • M mercenary01

      Hi, I just install directX 9.0b and using VS 2005 but I cannot build any of the directX demo projects found on this site. I have the following error amoung others The type or namespace name 'DirectX' does not exist in the namespace 'Microsoft after installing DirectX is it necessay to set a path to it?? Thanks. Samuel

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Install DirectX SDK from Microsoft. Add the needed reference to your project. Then add namespace you need to compile it. If you are using VS2005, then just mouse over unknown class, then click at the small box "using DirectX.xxx.xxx.xxx", then namespace will be added automatically.

      1 Reply Last reply
      0
      • M mercenary01

        Hi, I just install directX 9.0b and using VS 2005 but I cannot build any of the directX demo projects found on this site. I have the following error amoung others The type or namespace name 'DirectX' does not exist in the namespace 'Microsoft after installing DirectX is it necessay to set a path to it?? Thanks. Samuel

        T Offline
        T Offline
        Talal Sultan
        wrote on last edited by
        #3

        I have never worked with DirectX but just to be sure for others: When you say you installed DirectX, what is it that you installed exactly? The runtime or the SDK? If you didn't install the SDK, there is no chance that any DirectX project will work (I think!) :)

        -- If this is a post that has been helpful to you, please vote for it. Thank you! "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook

        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