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.
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 "
, .
2008 .
2005 .
, VC . . Microsoft Visual ++ , Visual Studio 2005 2008.
, Redistributable , . , DLL, , Windows - , ZIP-.
- , . EXE, DLL. DLL, .
.
++ → → "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.
Visual studio 2005 actually has two
For the initial release
and for SP1
Source: https://habr.com/ru/post/1697186/More articles:Assigning variables with regex - stringInformation Hiding and Properties - designWhat is the most common feature that requires using Visual Studio Professional over the standard? - visual-studio-2008https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1697184/how-to-handle-code-that-is-deemed-dangerous-to-change-but-stable&usg=ALkJrhhsAkP5Ly47Eg9H63WekFDWh_Tv9wVisual C ++ / Studio: incorrect application setup? - c ++Convert / extract phpinfo () in php.ini - phpFacebook application RSS - phpWCF - Накладные расходы на выброс FaultException в вашей службе - optimizationЛучшая практика для иконки приложений в окнах - windowsTools for finding unused feature declarations? - c ++All Articles