FIX: MFCN30.DLL and MFCN30D.DLL Not Copied with Win32S Setup

Last reviewed: September 18, 1997
Article ID: Q129782
2.10 WINDOWS NT kbsetup kbbuglist kbfixlist

The information in this article applies to:

  • The Microsoft Foundation Classes (MFC) included with: Microsoft Visual C++, 32-bit Edition, version 2.1

SYMPTOMS

An attempt to run an MFC application that uses the socket classes generates the following File Error under Win32s:

   Cannot find MFCN30D.DLL

Then when you click the Close button, the following error appears:

   Cannot Run Program
   Unexpected error: 21.

NOTE: A release build of an application would list MFCN30.DLL instead of MFCN30D.DLL in the first message box.

CAUSE

The Win32S setup included on the Visual C++ CD does not copy MFCN30.DLL or MFCN30D.DLL.

RESOLUTION

Copy MFCN30.DLL and MFCN30D.DLL from the CD to the WINDOWS\SYSTEM directory of the Win32S machine:

  • MFCN30.DLL can be found on the CD in this directory: \MSVC20\REDIST
  • MFCN30D.DLL can be found on the CD in this directory: \MSVC20\DEBUG

If your application has a set-up program, make sure it also copies these files.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Visual C++, 32-bit Edition, version 2.2.


Additional reference words: 2.10 3.10 CSocket CAsyncSocket win32-s
KBCategory: kbsetup kbbuglist kbfixlist
KBSubcategory: vc20setup MfcSockets
Keywords : MfcSockets vc20setup kbbuglist kbfixlist kbsetup
Technology : kbMfc
Version : 2.10
Platform : NT WINDOWS
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 18, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.