Saturday, May 22, 2010

In visual c++ 9.0 express eddition...?

when i build my project and try to run the executable on another computer it says "program configuration not correct, reinstalling the application might help" are there more files that i need to have for the program to work, aswell as the executable? if so what are these files and where are they located? if not please tell me what I'm doing wrong?


thanx :P

In visual c++ 9.0 express eddition...?
Depending on what you used for your program, there may be lots of files that you need to copy over including your exe. These will depend on special dll's, ActiveX components, MFC libs, etc.





If you have a sorta' plain program that uses MFC, try going into the config manager and set the build option for "statically linked MFC." This will embed the MFC lib that you used to build your program with the exe. (No need to copy over the "right" MFC library).





Note: I use the full blown VS 6,7,8 versions and am not familiar with the express versions of VS. Hope this helps.
Reply:Yeh what you do is that you pet it a bit, give your project some cookies and then hopefully it will be loyal and hopefully compile so that it will work on another PC. Hope this helped.


No comments:

Post a Comment