FIX: Wrong Version of MSVCRT40.DLL(Forwarder DLL) in Windows 95

Last reviewed: September 19, 1997
Article ID: Q154591
The information in this article applies to:
  • Microsoft Visual C++, 32-bit Edition, version 4.2

SYMPTOMS

The wrong version of MSVCRT40.DLL, known as the Forwarder DLL, may be copied to Windows 95 System directory while installing Visual C++ version 4.2. The size, date, and version number of this DLL are:

   MSVCRT40.DLL  65,024 Bytes  6/14/96 Version 4.2000.6164

This behavior may cause some applications built with Visual C++ Version 4.0 and 4.1 to break.

CAUSE

If Visual C++ is installed on Windows 95 with a CD-ROM install, then the above-mentioned DLL will be copied to the Windows 95 System directory. This DLL may also be present if a beta version of Visual C++ 4.2 was previously installed.

RESOLUTION

Copy the correct version of the DLL provided in the Visual C++ 4.2 CD-ROM MSDEV\REDIST\ANSI directory. The size, date, and version number of this DLL are:

   MSVCRT40.DLL  326,656 Bytes 2/19/96 Version 4.10.6038

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Visual C++ version 5.0.

MORE INFORMATION

The REDISTRB.WRI file in the MSDEV\REDIST directory of the Visual C++ 4.2 CD-ROM mentions that the C Run-Time Forwarder DLL MSVCRT40.DLL should not be redistributed. The redistributable DLLs are the Shared DLL version of the Visual C++ 4.1 C Run-Time DLL MSVCRT40.DLL available in the MSDEV\REDIST\ANSI directory, MSVCRT.DLL the Shared DLL version of C Run- Time, and MSVCIRT.DLL the Shared DLL version of the iostream functions.

The Forwarder DLL, MSVCRT40.DLL, is supplied with the Windows NT 4.0 Operating System and later versions of Windows 95 Operating System. This DLL will be necessary for upward compatibility of applications built with Visual C++ version 4.0 and 4.1 to run in Windows NT 4.0 and later versions of Windows Operating Systems.

Note that applications built in Visual C++ 4.2 and 5.0 with the /MD compiler switch will only use the MSVCRT.DLL or MSVCRT.DLL and MSVCIRT.DLL depending on the header files included.

The Visual C++ 5.0 CD-ROM, contains only the MSVCRT40.DLL, Version 4.10.6038, in both the …\VC\REDIST\ and the …\VC\REDIST\ANSI\ directories.


Additional query words: MSVCRT40.DLL MSVCIRT.DLL MSVCRT.DLl


Keywords : vc40setup vcbuglist420 vcfixlist500
Version : 4.20
Platform : NT WINDOWS
Issue type : kbbug
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 19, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.