PATCH: MFC ver 2.52a Upgrade to Fix Database & Other ProblemsID: Q127049
|
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.
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 file is available for download from the Microsoft Software
Library:
~ Mfc252a.exeFor more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services
Additional query words: ODBC Open Database Connectivity
Keywords : kbcode kbfile kbother kb16bitonly kbDatabase kbMFC kbODBC kbVC kbVC152
Version : 1.52
Platform : WINDOWS
Issue type :
Last Reviewed: July 27, 1999