FIX: TCHAR Size Is Not Handled Correctly in MFC Dbcore.cpp (810449)



The information in this article applies to:

  • Microsoft Visual C++ .NET (2002)

SYMPTOMS

The Unicode version of a Microsoft Foundation Classes (MFC) Open Database Connectivity (ODBC) application may not be able to update the contents of any ODBC database. The CRecordset::Update function may fail and throw a CDBException exception error.

RESOLUTION

A supported fix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version     Size        File name
   --------------------------------------------------------
   06-Dec-2002  03:57  7.0.9642.0   1,028,096  Mfc70.dll
   06-Dec-2002  03:12  7.0.9642.0   2,068,480  Mfc70d.dll
   06-Dec-2002  03:46  7.0.9642.0   1,016,832  Mfc70u.dll
   06-Dec-2002  03:14  7.0.9642.0   2,064,896  Mfc70ud.dll
   06-Dec-2002  03:14               2,287,020  Mfc70.lib
   06-Dec-2002  03:12               3,066,694  Mfc70d.lib
   06-Dec-2002  03:18               3,042,324  Mfc70u.lib
   06-Dec-2002  03:16               3,978,842  Mfc70ud.lib
   06-Dec-2002  03:32                 505,780  Mfcs70.lib
   06-Dec-2002  03:12                 526,960  Mfcs70d.lib
   06-Dec-2002  03:33                 452,554  Mfcs70u.lib
   06-Dec-2002  03:14                 468,956  Mfcs70ud.lib
   06-Dec-2002  03:08              16,467,902  Nafxcw.lib
   06-Dec-2002  03:08              16,598,882  Nafxcwd.lib
   06-Dec-2002  03:11              16,743,412  Uafxcw.lib
   06-Dec-2002  03:11              17,032,292  Uafxcwd.lib
   07-Dec-2002  01:59                 886,784  Vc_mfc.msm
   05-Dec-2002  20:21                 116,779  Dbcore.cpp

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MinorLast Reviewed:10/18/2005
Keywords:kbHotfixServer kbQFE kbQFE kbfix kbbug KB810449 kbAudDeveloper