Different versions of C ++ libraries

After compiling a simple C ++ project using Visual Studio 2008 in Vista, everything works fine on the original Vista machine and other Vista computers. However, moving it to the XP field, an error message appears: "The application did not start because the application configuration was incorrect."

What do I need to do to make my compiled EXE work on XP and Vista? I had the same problem a few months ago and I just messed around with some project settings, but I don’t remember which ones I changed.

+2
source share
5 answers

You need to install the Visual Studio 2008 runtime on the target computer:

http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en

, :

++ → → " /MT "

+6

, .

2008 .

2005 .

, .

+1

, VC . . Microsoft Visual ++ , Visual Studio 2005 2008.

, Redistributable , . , DLL, , Windows - , ZIP-.

- , . EXE, DLL. DLL, .

+1

.

++ → → "multi-threaded/MT"

. , , . .

→ " " → " "

Download the output from application projects (defined using the DLL version of the runtime) to the installer project and create it. A dependency on the DLL at runtime will be noticed, included in the installer package and neatly and unobtrusively installed in the right place on the target machine.

0
source

Visual studio 2005 actually has two

For the initial release

and for SP1

0
source

Source: https://habr.com/ru/post/1697186/


All Articles