Generally compiledProgramDebugging programs are generated, that is, executable files under the DEBUG directory. Running the debug version of the EXE file will dynamically connect to mfc42d. DLL and msvcrtd. DLL files, so if you run the file on another machine and the machine does not have the two files or lacks one, the system will see: "You cannot find the required files. DLL file-xx. DLL. Generally, the system does not contain these two files, unless VC is installed. Solution: 1. Choose build> set Active configuration, and then select release. 2. Choose project> Settings, on the General tab, select use MFC in a static library as the first option, that is, static connections generate the release program. Under the release directory, the two annoying DLL files are not used for executable files, which can be used on other machines.