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 / C++ / MFC
  4. dynamic linking with DirectX

dynamic linking with DirectX

Scheduled Pinned Locked Moved C / C++ / MFC
questiongraphicsgame-dev
6 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.
  • S Offline
    S Offline
    shaderx
    wrote on last edited by
    #1

    Hi, I wanna make an app and in the about box to have a small animated 3D thingy with DirectX but dont want to static link* to d3d.lib or w/e .... except LoadLibrary and GetProcAddress for every dll and proc i need, is there another way *this is because ,if the target machine doesnt have directx ,should run but the about box should say "...no directx... bla bla" u understand what is what i want right? ;P

    C L M S 4 Replies Last reply
    0
    • S shaderx

      Hi, I wanna make an app and in the about box to have a small animated 3D thingy with DirectX but dont want to static link* to d3d.lib or w/e .... except LoadLibrary and GetProcAddress for every dll and proc i need, is there another way *this is because ,if the target machine doesnt have directx ,should run but the about box should say "...no directx... bla bla" u understand what is what i want right? ;P

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      shaderx wrote:

      I wanna make an app and in the about box to have a small animated 3D thingy with DirectX but dont want to static link* to d3d.lib or w/e ....

      You mean you don't want dynamic linking but static linking ? I don't thing that is possible.

      shaderx wrote:

      except LoadLibrary and GetProcAddress for every dll and proc i need, is there another way

      That is still dynamic linking, except that you explicitely load the dll (but you still need the dll to be present on the target machine).

      shaderx wrote:

      u understand what is what i want right?

      I'm not so sure... In brief, you will need to distribute DirectX with your application if you want to use it.


      Cédric Moonen Software developer
      Charting control [v1.1]

      1 Reply Last reply
      0
      • S shaderx

        Hi, I wanna make an app and in the about box to have a small animated 3D thingy with DirectX but dont want to static link* to d3d.lib or w/e .... except LoadLibrary and GetProcAddress for every dll and proc i need, is there another way *this is because ,if the target machine doesnt have directx ,should run but the about box should say "...no directx... bla bla" u understand what is what i want right? ;P

        L Offline
        L Offline
        led mike
        wrote on last edited by
        #3

        shaderx wrote:

        if the target machine doesnt have directx

        I think DirectX came installed on all current OS supported by Microsoft so that should not happen. What may not be present is the Version you coded against. See this[^]

        led mike

        1 Reply Last reply
        0
        • S shaderx

          Hi, I wanna make an app and in the about box to have a small animated 3D thingy with DirectX but dont want to static link* to d3d.lib or w/e .... except LoadLibrary and GetProcAddress for every dll and proc i need, is there another way *this is because ,if the target machine doesnt have directx ,should run but the about box should say "...no directx... bla bla" u understand what is what i want right? ;P

          M Offline
          M Offline
          Michael Dunn
          wrote on last edited by
          #4

          AFAIK there is no static lib version of DirectX.

          --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Ford, what's this fish doing in my ear?

          1 Reply Last reply
          0
          • S shaderx

            Hi, I wanna make an app and in the about box to have a small animated 3D thingy with DirectX but dont want to static link* to d3d.lib or w/e .... except LoadLibrary and GetProcAddress for every dll and proc i need, is there another way *this is because ,if the target machine doesnt have directx ,should run but the about box should say "...no directx... bla bla" u understand what is what i want right? ;P

            S Offline
            S Offline
            shaderx
            wrote on last edited by
            #5

            i see ppl dont understand what i mean,and what i mean is: is there an easyer way to use diretx without linking at load time with it , except LoadLibray and GetCrocAddress for every proc ?

            M 1 Reply Last reply
            0
            • S shaderx

              i see ppl dont understand what i mean,and what i mean is: is there an easyer way to use diretx without linking at load time with it , except LoadLibray and GetCrocAddress for every proc ?

              M Offline
              M Offline
              Mark Salsbery
              wrote on last edited by
              #6

              shaderx wrote:

              is there an easyer way to use diretx without linking at load time with it , except LoadLibray and GetCrocAddress for every proc ?

              I believe what people mean is "no, there isn't". Mark

              "If you can dodge a wrench, you can dodge a ball."

              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