C++. Wrote the code in Visual Studio 2017. Build the application as Release x86. I’m trying to run it on another computer (windows 7×64 installed). Doesn’t start. Writes Missing mcvcp140.dll. What to disable or enable in the Visual Studio settings so that the project is compiled without this component? I know that I need to reinstall the Visual C++ package on that machine, but I want it to work without it.
Answer 1, authority 100%
You need to statically link with CRT libraries. Apparently you have a dynamic one.