How to compile for WIN-32 applications to run on machines without the C/C++ compiler?

There is a simple console program.
You need compile it on your development computer and use .exe file on the remaining machines. On other machines no compiler and standard libraries of C/C++.
How to compile so that worked without issues?

The Microsoft Visual Studio Environment.
July 2nd 19 at 16:56
3 answers
July 2nd 19 at 16:58
Solution
Project properties / C++ / Code Generation / Runtime Library - change Multi-threaded DLL to Multi-threaded
July 2nd 19 at 17:00
Solution
The compiler and so not required to run the. EXE! Requires only a runtime library can be linked statically (see above) or put in the folder with the EXE (using dependencywalker.com determine what is needed and keep the architecture - x86 or x86_64), or distribute the application together with the appropriate installer Visual C++ Runtime.
And if Qt, the special case, it is "insidious".
the fact that the compiler is not required I know )
thanks for the reply - Emie.Kozey commented on July 2nd 19 at 17:03
July 2nd 19 at 17:02
To assemble the Release version, put next to all the required DLL exe (you never know what you there use). All.
That's it, "you never know"!
For example, Qt "insidious" because in addition to their libraries shown in dependencywalker, etc. it still loads some libraries dynamically, it is necessary to study, and it is good to test on a "clean" PC. - Emie.Kozey commented on July 2nd 19 at 17:05

Find more questions by tags ProgrammingC++C