There was a small problem. I wrote in C ++ in Microsoft Visual Studio 2010 a program in a regular console CLR application. Further in the folder with the project found the executable file of the program and run it. But the executable file itself works on any computers, with any system width, but only with installed C, and without it produces an error associated with an incorrect parallel configuration. I do not know how to compile differently.

Tell me how to make the executable file of my program work on any computer, without a programming environment.

  • Give the exact text of the error. - avp

2 answers 2

A crystal ball with no error text suggests that Microsoft Visual C ++ 2010 Redistributable is extremely likely))

Well, you hardly need it: vcredist_IA64 .

This is a set of system libraries that your program uses.

This crap will need to be installed on the PC, where you will run your program. Or turn on the distribution.

  • one
    You can still build a static .exe, but in VS I don’t know how. With gcc just gcc -static .... By the way, with gcc and console programs I have never had such problems. Even -static is not needed. All on standard Windows .dll - avp

Probably need to install MS Visual Studio Redistributable