FIX: Problems Using Database Classes with Jet 3.0 under NT 4.0 (164819)



The information in this article applies to:

  • Microsoft Visual C++, 32-bit Editions 4.0, when used with:
    • the hardware: Intel x86
  • Microsoft Visual C++, 32-bit Editions 4.1, when used with:
    • the hardware: Intel x86
  • Microsoft Visual C++, 32-bit Editions 4.2, when used with:
    • the hardware: Intel x86
  • Microsoft Visual C++, 32-bit Editions 4.0a, when used with:
    • the hardware: Intel x86
  • Microsoft Visual C++, 32-bit Editions 4.2b, when used with:
    • the hardware: Intel x86

This article was previously published under Q164819

SYMPTOMS

Using a Microsoft Access 7.0 data source under Windows NT 4.0 may cause the following problems:

  1. An MFC Database (ODBC, DAO) application may crash upon exit, with the following error message:
    "The instruction at 0x04210085 referenced memory at 0x04210085. The memory cannot be read."
    The exact addresses may be different.
  2. Opening and closing a CDatabase object in a loop may cause the following error:
    "Unhandled exception in <appname.exe> .... Access Violation"
  3. Class Wizard may crash while creating a recordset based on an Access data source.

RESOLUTION

To obtain the updated version of MSJT3032.DLL version 3.00.3213 that fixes the problem, see the following articles in the Microsoft Knowledge Base:

151186 ACC95: Updated Jet DLLs Available on MSL

143163 PRB: Problems Running Microsoft Jet 3.0 on Windows NT 4.0

156298 FIX: Error on Disconnecting from ODBC Desktop Drivers

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 the ODBC drivers included with Visual C++ 5.0 and the ODBC Drivers included with Office 97 Value Pack.

Modification Type:MajorLast Reviewed:12/8/2003
Keywords:kbbug kbDatabase kbfix KB164819