I often see that some people have brought themselves to other machines to run on other machines. I have encountered such problems. In fact, this is generally a problem that beginners will encounter, because the books that are entry will not be too comprehensive, so Many such problems are difficult to solve. I summarize the experience as follows:
In fact, in the program, it is a program that generates a debug version, which is the executable file in that debug directory. Running this debug version of the EXE file, you will dynamically connect the two files of MFC42D.dll and msvcrtd.dll, so if you run this file on other machines, this machine doesn't have these two files or missing, the system will The appearance: "Can't find the required .dll file - a.dll" such prompt. The general system does not have these two documents unless it is installed.
Solution is simple: 1. Select the menu build-> set Active Configuration, then select Release,
2. Select Menu Project-> Settings, in the General tab, the first item selection use of Use MFC in A Static Library, ie static connection
In fact, this is the release program. In the release directory, the executable can not use the two annoying DLL files, usually can be used on other machines, try it!