I want to execute an exe file which is written in VC++.net 2008 in a computer which has windows xp and has not .net framework and none of c++ libraries.
but when i run the file i get this error:
This application has failed to start because the application configuration is incorrect....
I want a way to put all dependency together to become free of this problem.
does anyone know what should I do?
If you are writing a pure C++ application (Win32 only, no .NET), then you want to staticly link the C++ run time, which can be changed in your project’s properties. See this answer for the instructions. (It is for VC2005, but the steps are the same in VC2008)