how to run a directX program in a computer without SDK?

I built a directX program in Release mode using VS2005 and directX June 2005 SDK.The program is runable on computers with directX SDK environment. but it can't work on computers without directX SDK and it shows "not find d3dx9d_26.dll"(directX9 runtime installed).I guess it still use sth in debug mode. How can i create programs which can run without SDK? Please help me... Thanks
[392 byte] By [PitLord] at [2007-12-23]
# 1

Well, either you don't have the most up to date runtime ( the one that matches your SDK ), or you have done a debug build.

cgraus at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 2
OK.let me try the August 2006 SDK.
PitLord at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 3
You need to install run time components of DirectX Aug release.

Since you are compiled with the latest VS 2005, you may also need to check the application has any dependency on the some other DLLs of the frame work or latest library
Sarath. at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...
# 4

Install the end user runtimes

Do *NOT* ship the DLLS with your game, that is not allowed per the EULA and will only end up duplicating DLLS all over your machine and possibly prevent MS from patching them in the future. To ship DIrectX with you game you should follow the DirectX setup instructions and include the redist cabs with your setup program.

TheZMan at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technologies: DirectX 101...