[VC ++] How to run the program on another PC?

I have an MFC application that runs on my computer, but when I try to run it on another PC, I get an error message that the application could not be initialized, and I have to reinstall it. What should I do?

+3
source share
5 answers

See redistributing an MFC application from MSDN .

Typically, you can install Visual C ++ Package Redistribution for x86 .

You can also compile your program to statically link MFC libraries to simplify deployment.

+6
source

, C/++. Microsoft Visual ++ runtime, Visual ++, .

. "", "C/++" > " " > " ". "/", "DLL".

+2

V++ Redistributable Pack.

+2

If you receive a message like β€œside by side configuration error”, this means that additional files, probably MFC / ATL-dll, should be sent to your exe. Use the dependency host to find out what the dependencies are: http://www.dependencywalker.com/

0
source

Source: https://habr.com/ru/post/1740344/


All Articles