COM exe startup issue
-
I am developing a COM exe using ATL in VS 2005. On my build machine( XP Pro) , I am able to successfully run the application (debug version )however when I copy the exe to another machine (XP Pro) the exe cannot run . I get an error message "The application has failed to start because the application configuration is incorrect . Reinstalling the application may fix this problem" I have no clue about this error . Help is appreciated !
-
I am developing a COM exe using ATL in VS 2005. On my build machine( XP Pro) , I am able to successfully run the application (debug version )however when I copy the exe to another machine (XP Pro) the exe cannot run . I get an error message "The application has failed to start because the application configuration is incorrect . Reinstalling the application may fix this problem" I have no clue about this error . Help is appreciated !
First thing, you cannot distribute debug version of your program. Then, you need to install the run-time libraries and MFC libraries on the target machine. For that, you can execute vcredist_x86.exe on the target machine (you can download it from here[^]). The link I provided is for VC2005 standard. If you installed the SP1 for VC2005, then look at the links at the bottom of the page, there is a similar download for SP1. This will install the release versions of the libraries, so you need to distribute a release version of your program too.
Cédric Moonen Software developer
Charting control [v1.2]