C ++. I wrote the code on Visual Studio 2017. I assembled the application as Release x86. I try to run it on another computer (installed windows 7x64). Does not start. Writes Missing mcvcp140.dll. What in the settings of Visual Studio disable or enable, so that the project is compiled without this component? I know about the fact that I need to reinstall the Visual C ++ package on that machine, but I want it to work without it.

    1 answer 1

    You need to statically link with CRT libraries. Apparently you have a dynamic.

    Visual Studio 2013. Static Linking with CRT Libraries

    • Yes, exactly, it works, but SIZE !!! 10 times the file began to weigh .. :( - Gregory
    • Your friend can put on a Visual C ++ Redistributable PC. It is often put programs, it contains the very dll, so as not to put the whole studio. - Unick