We recommend that you download an mfc42d. dll file and copy it to the c: \ windows \ system32 directory. OK
Problem: VC ++ 6.0 error: mfc42d. dll not found, so this applicationProgramFailed to start. Re-installing the application may fix this problem.
Solution:
Generally, debugging programs are generated during programming, that is, executable files under the DEBUG directory. Run the debug version of the EXE file
, Will dynamically connect the mfc42d. dll and msvcrtd. DLL files, so if you run this file on another machine and this machine
If either of the two files is missing, the system will prompt "cannot find the required. dll file-xx. dll. Generally
Without these two files, unless VC is installed and so on-the fact is, I installed VC ++ 6.0 and this error occurs, I do not know if it is pirated software
Problem...
The solution is simple:
1. Select the menu build-> set Active configuration, and then select release, that is, my ++ 6.0 build-configuration-select
Release
2. Select project-> Settings. On the General tab, select use MFC in a static library as the first option.
That is, my + 6.0 Project -- settings, select release on the left, and use MFC as the static link library on the right.
The above two steps cannot be reversed... I started to reverse it, so nothing can happen...
This generates the release program. In the release directory, the executable files do not use the two annoying DLL files, generally on other machines.
Usable.
OK. I did it, wrote another program, and then did the experiment. The result is correct.
To create a general program, you must use the release version.