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. .NET (Core and Framework)
  4. DirectX and .Net

DirectX and .Net

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpgraphicsgame-devquestion
5 Posts 5 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.
  • F Offline
    F Offline
    Firoz
    wrote on last edited by
    #1

    Hi, How can I use DirectX objects in a .Net Application (vb or C#). Thanks, Firoz

    J S A 3 Replies Last reply
    0
    • F Firoz

      Hi, How can I use DirectX objects in a .Net Application (vb or C#). Thanks, Firoz

      J Offline
      J Offline
      jparsons
      wrote on last edited by
      #2

      If you can access them through COM then yes Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

      1 Reply Last reply
      0
      • F Firoz

        Hi, How can I use DirectX objects in a .Net Application (vb or C#). Thanks, Firoz

        S Offline
        S Offline
        sultan_of_6string
        wrote on last edited by
        #3

        I strongly recommend you don't even try. COM Marshalling is really slow. You're best off creating a Managed C++ class library that contains native DirectX code. Still, there are some features such as Direct3D FVFs that are impossible to implement as managed code.

        1 Reply Last reply
        0
        • F Firoz

          Hi, How can I use DirectX objects in a .Net Application (vb or C#). Thanks, Firoz

          A Offline
          A Offline
          Andy Smith
          wrote on last edited by
          #4

          for right now, you'll have to use Interop to talk to DX8. however, DX9 will come with a full managed api as well as the old com interface. so if you can afford the time... i'd suggest you wait on the dx9 release.

          D 1 Reply Last reply
          0
          • A Andy Smith

            for right now, you'll have to use Interop to talk to DX8. however, DX9 will come with a full managed api as well as the old com interface. so if you can afford the time... i'd suggest you wait on the dx9 release.

            D Offline
            D Offline
            Domenic Denicola
            wrote on last edited by
            #5

            When oh when oh when will it come out? I also am waiting on DX9 to begin my game development.

            -Domenic Denicola- [CPUA 0x1337] MadHamster Creations "I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."

            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