MFC ver 2.52a Upgrade to Fix Database & Other Problems

ID: q127049


The information in this article applies to:
  • The Microsoft Foundation Classes (MFC), used with:
    • Microsoft Visual C++ for Windows, 16-bit edition, version 1.52


SUMMARY

This article explains how to get a patch to fix the problems discussed below.

NOTE: This patch is not needed for the 32-bit MFC classes, version 3.1. The CRecordset database class that shipped with Microsoft Visual C++ version 1.52 cannot modify existing databases. There is a conditional statement in DBCORE.CPP that prevents insertion, addition, or deletion of records to databases. This can result in an Application Error. DBCORE is a component of MFCD250.DLL.

In addition there is a condition in MFC250.DLL that can cause _afxMsgCache() to call a message handler from a previously run application that used this dll. This results in calls to functions that are no longer present and can result in an Application Error. Microsoft has confirmed these to be problems in the Microsoft products listed at the beginning of this article. These two problems are fixed in MFC252a.EXE. This patch can only be applied to users of MFC version 2.52, which was released with Visual C++ 1.52. MFC252a.EXE will upgrade the version resource of MFC250.DLL and MFCD250.DLL to be version 2.52a.


MORE INFORMATION

In general, if you are planning to redistribute the MFC250.DLL or MFCD250.DLL that is version 2.52, you should apply this patch and redistribute the 2.52a version of the DLLs.

You can determine if you need this patch by viewing the file properties for mfc250[d].dll and mfcd250[d].dll with File Manager. If the version is 2.5.200, you should apply the patch. After the patch is applied the version will be 2.5.200a.

In order to use the patch, download the file MFC252a.EXE, put it in a temporary directory, and run the executable. The README.TXT included in MFC252a.EXE contains more detailed information on the patch contents and it explains how to apply the patch.

The following files are available for download from the Microsoft Download Center. Click the file names below to download the files:

Mfc252a.exe

For more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address

http://www.microsoft.com/downloads/search.asp
and then click How to use the Microsoft Download Center.

Additional query words: ODBC Open Database Connectivity

Keywords : kbcode kbfile kbother kb16bitonly kbDatabase kbMFC kbODBC kbVC kbVC152
Version : winnt:
Platform : winnt
Issue type :


Last Reviewed: December 21, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.