Sign in to follow this  

vs 2005 executable

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

This topic is 4038 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this