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. Graphics
  4. Directx

Directx

Scheduled Pinned Locked Moved Graphics
questiongraphicsgame-devhelp
4 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.
  • M Offline
    M Offline
    messages
    wrote on last edited by
    #1

    hi everyone, I have vista service pack 1(64bit) and I installed "Microsoft DirectX SDK (June 2006)" now my question is can I use of Directx 10 or I should use of Directx9? how can I undrestand which one of them can I use? I asked this question because I have problem with "D3D10CreateDeviceAndSwapChain". Thanks?

    B 1 Reply Last reply
    0
    • M messages

      hi everyone, I have vista service pack 1(64bit) and I installed "Microsoft DirectX SDK (June 2006)" now my question is can I use of Directx 10 or I should use of Directx9? how can I undrestand which one of them can I use? I asked this question because I have problem with "D3D10CreateDeviceAndSwapChain". Thanks?

      B Offline
      B Offline
      Baltoro
      wrote on last edited by
      #2

      Initially, you want to determine the capabilities of your graphics card. That really is the main determinant for which APIs you can use in your application. Many applications call GetDeviceCaps when first initializing the Direct3D Device (this is the recommended technique both at MSDN, and in all the books written about DirectX 9 and 10 that I've read). Have a look at: D3DCAPS Structure[^] over at MSDN.

      M 1 Reply Last reply
      0
      • B Baltoro

        Initially, you want to determine the capabilities of your graphics card. That really is the main determinant for which APIs you can use in your application. Many applications call GetDeviceCaps when first initializing the Direct3D Device (this is the recommended technique both at MSDN, and in all the books written about DirectX 9 and 10 that I've read). Have a look at: D3DCAPS Structure[^] over at MSDN.

        M Offline
        M Offline
        messages
        wrote on last edited by
        #3

        My graphic card is 8600 gts and it supports of Directx 10.

        B 1 Reply Last reply
        0
        • M messages

          My graphic card is 8600 gts and it supports of Directx 10.

          B Offline
          B Offline
          Baltoro
          wrote on last edited by
          #4

          Probably the most comprehensive approach is to look for the Utility that comes with the DirectX SDK (both version 9 and 10). It lives in the Utilities directory of wherever you installed the SDK on disc. As I recall, it's name is something obvious like, "DX9Capabilities". Launch it, and it will automatically query your Graphics Card and show you graphically what it's capabilities are. Then all you have to do is do a little research into what each designation actually means. The documentation that comes with the SDK should explain it all. You will discover that some DirectX APIs don't work because your Graphics Card doesn't perform a certain operation. It's a tedious process, but necessary in many circumstances where you are actually instructing the GPU to perform some computation (just by calling a standard DirectX API in your code). The API will often just fail silently, or return an almost useless error code like, D3DERR_INVALIDCALL. Determining your Graphics card capabilities beforehand prevents this kind of thing.

          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