Thread: DLL error
View Single Post
Old 03-04-2002, 04:50 AM   #3
patmondor
Minors (Rookie Ball)
 
Join Date: Mar 2002
Posts: 23
Post

This might help....I don't know your current setup, but when you get these type errors...the correct version of this file was overwritten by another version with the same name causing the problem. How do you correct this problem....there are several ways:

* First, if running Windows 98 run the System File Checker...you can run this by going Start...Run...type in SFC....it will launch...make sure "Scan for altered files" is check....see if MFC42.dll pops up...if so the original version will be reinstalled.

* Second, use Explorer and search for this file. Most likely you will find multiple locations that contain this DLL...the problem arises when there are DIFFERENT versions of this DLL. Most of the time if you run the SFC utility and have it replace the copy in the system folder the problem will go away. Unfortunately, many programs load their own copy in their own folder causing the problem. In this case you have several choices.

1. Rename any MFC42.dll files you find other then in the \system and \CABS folders from MFC42.dll to MFC42.OLD, and reboot the computer. This can only be done from a true DOS prompt and not from within Windows. (If there is a problem you can always change the name back to the original. Do this one file at a time. If you find 3 MFC42.dll files then rename the first, reboot and try it, if you still have the problem rename the next and so on. Eventually you should end up with only one copy of this file in the system folder (and maybe one in the CABS folder).

2. If this does not fix the problem then you can rename the MFC42.dll file found in the system folder to MFC42.OLD, then one file at a time, copy one of the other MFC42.dll files you found in the other folders to the c:\windows\system folder and rename it to MFC42.dll .What you are trying to do here is to use the other versions and see if they work better.

In almost all case one of the above will fix the problem. Good Luck!
__________________
Oriole Fan
patmondor is offline   Reply With Quote