vc++ exe failing to run
-
Using visual studio 2008 I created a small vc++ project and ran it using the exe created. The problem is the exe runs fine on my PC. But when I tried to run the exe on an another PC it gave the error "The application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem." Any idea as to what may be causing this error and how to resolve it?
-
Using visual studio 2008 I created a small vc++ project and ran it using the exe created. The problem is the exe runs fine on my PC. But when I tried to run the exe on an another PC it gave the error "The application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem." Any idea as to what may be causing this error and how to resolve it?
You have to install the VC2008 redistributable package (search on the MSDN website) on the target PC. This will install the MFC and C run-time libraries which are required by your application. Another solution is to statically link against those libraries.
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
You have to install the VC2008 redistributable package (search on the MSDN website) on the target PC. This will install the MFC and C run-time libraries which are required by your application. Another solution is to statically link against those libraries.
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++Thanks Cedric for the inputs. Anyway I solved the issue by changing the project configuration. In the Project Properties >>> C/C++ Code Generation >>> Run Time Library I selected /MT which solved the problem. Earlier it was /MD which which was causing the error.
-
Thanks Cedric for the inputs. Anyway I solved the issue by changing the project configuration. In the Project Properties >>> C/C++ Code Generation >>> Run Time Library I selected /MT which solved the problem. Earlier it was /MD which which was causing the error.
Yes, it means you statically link against the run-time libraries as I said in my previous reply.
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
Yes, it means you statically link against the run-time libraries as I said in my previous reply.
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++yes thanks for the hints.