The program cannot start because mfc120ud.dll is missing from your computer

I am trying to run an application that I recently developed on another computer, and which I compiled using VS2013.

Running it, I get:

The program does not start because mfc120ud.dll is missing from your computer. Try reinstalling the program to fix this problem.

I searched mfc120ud.dll from the net, but without any results. I copied / pasted this dll file from the computer on which I developed this application to the system32 of another computer, this means:

C: \ Users \ u \ System32 \ mfc120ud.dll is either not designed to work on Windows or it contains an error. Try installing the program again using the original installation media, or contact your system administrator or software vendor for support.

Knowing that the computer I'm working on is 64-bit and the other 32-bit, and that I copied / pasted the version of mfc120ud.dll from System32, how can I fix this?

+4
source share
4 answers

The program does not start because mfc120ud.dll is missing from your computer. Try reinstalling the program to fix this problem.

MFC. , , . , .

:

  • . .
  • MSVC MFC , . , .

/ mfc120ud.dll System32

. .

+8

, _DEBUG .

, .

+1

VS2013 xp. Windows XP. mfc120ud.dll. vcredist.exe vs2013, . MFC.

0

, redistributables VS 2013 ++ vcredist_x86.exe vcredist_x64.exe(https://support.microsoft.com/en-us/help/3138367/update-for-visual-c-2013-and-visual-c-redistributable-package), , :

c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin>dumpbin.exe /dependents "C:\Temp\MyLibrary.dll"

Microsoft (R) COFF/PE Dumper Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file C:\Temp\MyLibrary.dll

File Type: DLL

  Image has the following dependencies:

    mfc120d.dll
    MSVCR120D.dll
    KERNEL32.dll
    USER32.dll
    OLEAUT32.dll
    mscoree.dll

  Image has the following delay load dependencies:

    MyLibraryCoreD.dll

  Summary

        5000 .data
        2000 .nep
        1000 .pdata
       4E000 .rdata
        1000 .reloc
        1000 .rsrc
       10000 .text

c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin>

Next, I searched the registry and did not find mfc120d.dll, only mfc120.dll and mfc120u.dll (see https://serverfault.com/questions/576831/how-do-i-know-if-a-dll-is- registered ), so instead of using the debug version, I switched to the release version, which uses mfc120.dll, and the application worked.

0
source

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


All Articles