dynamic linking with DirectX
-
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
-
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
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] -
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
-
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
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?
-
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
-
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 ?
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."