How do I run D3D9 programs (that have already been compiled) on a machine without the SDK?

Posted by rambo on Stack Overflow See other posts from Stack Overflow or by rambo
Published on 2010-06-03T14:17:12Z Indexed on 2010/06/03 15:04 UTC
Read the original article Hit count: 173

Filed under:
|

I have a simple 3D application programmed in C++ and D3D9 using MSVC++ 2008 Express. Some weeks ago, I had to format my hard disk, so the DirectX SDK is not currently installed.

However, I found that the exe file that I found in my "Debug" folder for the project does not run. The error it gives is:

"This application has failed to start because d3dx9d_38.dll was not found. Re-installing the application may fix this problem."

Of course, it worked after I installed the SDK. Then I compiled a "release build" thinking that that was the solution. Then I uninstalled the SDK and tried to run the .exe file. Still gave me the error.

So how does one make such .exe files run on machines without the SDK?

© Stack Overflow or respective owner

Related posts about directx

Related posts about compile