I wrote a simple ‘Hello, world’ application in C++ using Visual Studio 2008. I am able to run the app successfully on my local machine. BUt when I copy the exe onto another machine and run, it does not run. It gives the error that ‘Application has failed to start because application configuration is incorrect’. The another system does not have Visual Studio installed. What could be the problem?
Thanks,
Rakesh.
Probably the CRT DLL is missing. Compile your app using static CRT – /MT (/MTd for debug). More info.
In Visual studio go to Project properties > C/C++ > Code Generation > Runtime Library.