   How to make an exe working without the SDK?
  The question is simple: every time i compile using visual studio 2008 express for c++, on my pc the exe works well, when i try to launch it into others machines, i obtain always this error:d3dx9_37.dll not foundTry to download from here my little tech demo of my game, it should give you the same error.If you install the sdk, then the game works but it's very annoying.How should i do to make the executable works on a generic directx 9.0c platform? With no sdk.Thanks.   
  You don't need the SDK to run your program. You do need a recent version of the  DirectX runtime. Basically, D3DX gets updated everytime a new version of the SDK comes out, and the DirectX runtimes get updated at the same time. So while your application may only depend on D3D 9.0c, it may require a more recent version of D3DX if you use any D3DX functions.   ;Quote:Original post by SiCraneYou don't need the SDK to run your program. You do need a recent version of the  DirectX runtime. Basically, D3DX gets updated everytime a new version of the SDK comes out, and the DirectX runtimes get updated at the same time. So while your application may only depend on D3D 9.0c, it may require a more recent version of D3DX if you use any D3DX functions.Ok, so if i compile using, i.e. the november 2008 edition of directx, and i want to make a setup.exe that install the game into every pc, i should include also the november edition of directx?   ;  http://msdn.microsoft.com/en-us/library/bb219742(VS.85).aspx should tell you all you need to know.   ;Quote:Original post by PdGQuote:Original post by SiCraneYou don't need the SDK to run your program. You do need a recent version of the  DirectX runtime. Basically, D3DX gets updated everytime a new version of the SDK comes out, and the DirectX runtimes get updated at the same time. So while your application may only depend on D3D 9.0c, it may require a more recent version of D3DX if you use any D3DX functions.Ok, so if i compile using, i.e. the november 2008 edition of directx, and i want to make a setup.exe that install the game into every pc, i should include also the november edition of directx?Yes, but if you make an installer you can't include the end-user runtime that SiCrane linked.  That installer can only be directly downloaded by end users.  The installer that you should use is in your SDK install directory, in a subfolder called "Redist".  There will be a bunch of .CAB files in there....you only need to include the .CAB files for the components you're using and for the version of the SDK you're using.;  A simple read in Technical Articles of documentation should clear you ideas.   