Jump to content
  • Advertisement
Sign in to follow this  
Auriya

DirectX, compiled game/app doesn't work on other computers

This topic is 3565 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello everyone! Sorry if this is a stupid question but when I compile a DirectX game/application I made on my computer, I can't use the executable on another computer. The other computers all have DirectX9.0c installed and all have the same operating system (XP-Pro) as mine. Is there anything I'm missing or doing wrong perhaps? Thanks in advance, ~J

Share this post


Link to post
Share on other sites
Advertisement
If you've made a DirectX app with Visual Studio you'll need

a) make sure the DirectX redistributable is installed (you can find it in your SDK install directory in the "Redist" folder. You only need to include the .CAB files for the version of the SDK you're using)

b) make sure the Visual C++ Redistributable is installed for the version of Visual Studio you're using. There's one for 2005, one for 2005 with SP1, one for 2008, and another for 2008 SP1.

Typically you'll include both in an installer that copies over your game folders, then launches the redistributables.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!