vs 2005 executable

Started by
2 comments, last by Aardvajk 17 years, 5 months ago
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?
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.
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?
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.

This topic is closed to new replies.

Advertisement