Microsoft KB Archive/296248

= ACC97: Error Message: MFC42.dll File Is in Use =

Article ID: 296248

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q296248



SYMPTOMS
When you attempt to install Snapshot viewer 9.0, you receive the following error message:

MFC42.dll file is in use



CAUSE
This behavior occurs when a program attempts to modify the Mfc42.dll file. It can occur with any program written in Visual C++ that uses the Microsoft Foundation Class Library 4.2.



RESOLUTION
To work around this issue, install Snapshot viewer 8.0 (Snpvw80.exe). You have to first quit all programs that may be using MFC42.dll. To do so, use one of the following methods listed.

Method 1
NOTE: This method applies only to computers running Microsoft Windows NT or Microsoft Windows 2000.
 * 1) Press CTRL+ALT+DELETE, and then click Task Manager.
 * 2) Click the Processes tab.
 * 3) For every item on the list, select the item and then click End Task. This will terminate all programs that use MFC42.dll.NOTE: System-critical processes will not be terminated.


 * 1) Close the Task Manager, and then install the Snapshot viewer.

Method 2

 * 1) Restart your computer in MS-DOS mode.
 * 2) Open the directory where MFC42.dll is located, and then rename the file MFC42.old.
 * 3) Restart the computer and install the Snapshot viewer.NOTE: This method prevents you from using any program that requires MFC42.dll until the file is replaced when you install the Snapshot viewer.



MORE INFORMATION
Mfc42.dll (Microsoft Foundation Class Library 4.2) is a run-time file that is used by all programs written in Visual C++ currently running on your computer. While a program that uses this file is active, no other program can overwrite this file.

Keywords: kbprb KB296248

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.