Music Notation Software for Everyday MusiciansNotation SoftwareSince 1994

09 Sep 2010 
Support Center » Knowledgebase » MidiNotate fails to run with message 'UNDO.DLL file is linked to missing export MFC42.DLL:6571' or 'ordinal 6571 could not be located in the dynamic link library MFC42.DLL'.
 MidiNotate fails to run with message 'UNDO.DLL file is linked to missing export MFC42.DLL:6571' or 'ordinal 6571 could not be located in the dynamic link library MFC42.DLL'.
Solution (Please note that this Knowledgebase question applies to the now obsolete MidiNotate, not to newer Notation products.) The MidiNotate setup program installs a Microsoft file named MFC42.DLL in the \\windows\\system or \\winntsimilarly install MFC42.DLL in the \windows\system or \winnt\system32 directory. Microsoft has released more than one version of MFC42.DLL. Applications, such as MidiNotate, th\\system32 directory for, respectively, Windows 95/98 or Windows NT/2000. Many other applications besides MidiNotate also at rely on the newer version of MFC42.DLL cannot use the older version of MFC42.DLL. When such applications are started, they fail with the message "missing export MFC42.DLL:6571" or "ordinal 6571 could not be located." If you get this message when you run MidiNotate, the problem is that MidiNotate is attempting to use an older version of MFC42.DLL.

According to Microsoft guidelines, the MidiNotate setup program always replaces an older version of MFC42.DLL in the \windows\system or \winnt\system32 directory with the newer version. The size of the MFC42.DLL installed by MidiNotate is 973Kb, and the date of the file is 4/27/99. Applications that rely on the older version of MFC42.DLL will still successfully run with the new version of MFC42.DLL.

If MidiNotate setup always installs the newer version of MFC42.DLL in the \windows\system or \winnt\system32 drectory, then the issue is this: When you run MidiNotate, why is it trying to use an older version of MFC42.DLL? The answer usually is the following: Another application has incorrectly installed an older version of MFC42.DLL in the \windows (not \windows\system) or \winnt (not \\winnt\\system32) directory. When you run MidiNotate or any other application, it searches for MFC42.DLL first in the \\windows or \\winnt directory rather than the \windows\system or \\winnt\\system32 directory. Thus, it unfortunately finds the old version of MFC42.DLL first.

How do you fix this problem? Basically, the fix requires removing the old MFC42.DLL from the \windows or \winnt directory. By doing so, MidiNotate and all other applications will then find the newer version of MFC42.DLL in the \windows\system or \winnt\system32 directory.

We recommend that you do not actually remove MFC42.DLL from the \windows or \winnt directory but, rather, rename it to MFC42.BK in case you need to restore it later. Renaming \windows\mfc42.dll to \windows\mfc42.bk or \winnt\mfc42.dll to \winnt\system32 usually cannot be done while Windows is atually running, because the MFC42.DLL cannot be renamed while in use. Many programs, as well as some Windows utilities, use the MFC42.DLL.

Therefore, to rename the MFC42.DLL file, you must restart your system in the "Command Prompt Only" mode. Shut down Windows, and then restart your system. As the system is restarting Windows, periodically type the F8 key. This will interrupt the starting of Windows, and you will be offered alternative startup options. Choose the "Command Prompt Only" option.

Your system will then issue a command prompt at the root of your system hard disk, usually your C: drive. Change drectories to \windows or \winnt for, respectively, Windows 95/98 or Windows NT/2000. Then rename MFC42.DLL to MFC42.BK:

cd \windows

rename mfc42.dll mfc42.bk

or

cd \winnt

rename mfc42.dll mfc42.bk

Then restart your system.

Please let us know if the above procedure does not solve the problem.

If you need a copy of the new version of of MFC42.DLL, you can download it by double-clicking the file name MFC42.DLL listed under "Attachments" on the right side of this window.



Article Details
Article ID: 27
Created On: 12 Dec 2003 07:54 PM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Submit a Ticket | Knowledgebase | Downloads
Language:

Help Desk Software By Kayako eSupport v3.30.02