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. Managed and UnManaged DirectX APIs.

Managed and UnManaged DirectX APIs.

Scheduled Pinned Locked Moved Graphics
graphicsgame-dev
4 Posts 4 Posters 2 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.
  • A Offline
    A Offline
    ashwath1979
    wrote on last edited by
    #1

    Hi ALL, Whats the difference between Managed DirectX Apis and UnManaged DirectX Apis.Do they come with two different SDKs.One SDK as Managed DirectX SDK and as UnManaged DirectX SDK. Thanking in advance, Ashwath.

    B D 2 Replies Last reply
    0
    • A ashwath1979

      Hi ALL, Whats the difference between Managed DirectX Apis and UnManaged DirectX Apis.Do they come with two different SDKs.One SDK as Managed DirectX SDK and as UnManaged DirectX SDK. Thanking in advance, Ashwath.

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

      Managed DirectX is the variety that compiles with a NET Framework language, (C#),...you must have the NET Framework installed on the executing machine for it to work (and, yes, the SDK libraries that your program links to are different). From my experience, the Managed DirectX API functions have the same functions available as the COM DirectX (C++) version, but the syntax when writing code is slightly different. If you GOOGLE the two terms, you will find an enormous amount of information available (API Reference and tutorials). MSDN DirectX Developer Center[^] Also, if you had bothered to look around here at CodeProject, you would have found An Enormous Number of Excellent DirectX Articles[^]

      1 Reply Last reply
      0
      • A ashwath1979

        Hi ALL, Whats the difference between Managed DirectX Apis and UnManaged DirectX Apis.Do they come with two different SDKs.One SDK as Managed DirectX SDK and as UnManaged DirectX SDK. Thanking in advance, Ashwath.

        D Offline
        D Offline
        dybs
        wrote on last edited by
        #3

        To expand on the above response, I believe Managed DirectX is actually a managed wrapper around the COM API. I think you still need the unmanaged DirectX SDK installed to work with Managed DirectX. One thing to keep in mind is Managed DirectX is no longer in active development, and only supports up to DirectX 9.0c. If you want to access any DirectX 10 or 11 features, I would suggest using SlimDX[^]. I think when you install the SlimDX SDK, it also installs the DirectX SDK components it uses, but I'm not sure. Dybs

        The shout of progress is not "Eureka!" it's "Strange... that's not what i expected". - peterchen

        X 1 Reply Last reply
        0
        • D dybs

          To expand on the above response, I believe Managed DirectX is actually a managed wrapper around the COM API. I think you still need the unmanaged DirectX SDK installed to work with Managed DirectX. One thing to keep in mind is Managed DirectX is no longer in active development, and only supports up to DirectX 9.0c. If you want to access any DirectX 10 or 11 features, I would suggest using SlimDX[^]. I think when you install the SlimDX SDK, it also installs the DirectX SDK components it uses, but I'm not sure. Dybs

          The shout of progress is not "Eureka!" it's "Strange... that's not what i expected". - peterchen

          X Offline
          X Offline
          Xeqtr 0
          wrote on last edited by
          #4

          dybs wrote:

          One thing to keep in mind is Managed DirectX is no longer in active development, and only supports up to DirectX 9.0c. If you want to access any DirectX 10 or 11 features, I would suggest using SlimDX[^].

          So what's a problem in using Unmanaged DX? Work without managed wrapping. And if you want to access to DX 10 features, not essentially to install SlimDX, in DX SDK including libraries and samples that are necessary for DX 10 features.

          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