Jump to content
  • Advertisement
Sign in to follow this  
imortales

vs 2005 executable

This topic is 4258 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

Hi! I've got a problem with my application. I wrote an MFC application in VS 2005. While it works fine on my machine, the exe won't run on another computer. I get the message "error executing program". Any ideas?

Share this post


Link to post
Share on other sites
Advertisement
Link C/C++/MFC statically, not dynamically. Or other option - put msvcr80.dll, msvcp80.dll, mfc80.dll (and other files if needed) in your exe directory.

Share this post


Link to post
Share on other sites
The DLLs won't do the trick, and I can't link statically because then I get conflicts with the libtiff library I'm using. Any other ideas?

Share this post


Link to post
Share on other sites
If you are struggling to get the DLL solution to work (I'm guessing you are using VS Express) then have a look at the quote from MSDN that synth_cat posted here.

Under XP you need some manifest stuff with the program as well as the DLLs but Express doesn't seem to come with a redist folder. The link above explains how to create one manually.

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!