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

Last reviewed: September 19, 1997
Article ID: Q164819
The information in this article applies to:
  • Microsoft Visual C++, 32-bit Edition, versions 4.0, 4.1, 4.2
  • Microsoft Visual C++, 32-bit Editions, versions 4.0, 4.0a, 4.1, 4.2, 4.2b on the following platform: x86

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.

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.

RESOLUTION

For more information about obtaining the newer drivers, please see the following article in the Microsoft Knowledge Base:

      ARTICLE-ID: Q159674
      TITLE     : WX1350: ODBC Desktop Database Drivers 3.5 for 32-Bit
                  Programs

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:

      ARTICLE-ID: Q151186
      TITLE     : INFO: Updated MSJT3032.DLL, MSWNG300.DLL, MSAJETFS.DLL

      ARTICLE-ID: Q143163
      TITLE     : PRB: Problems Running Microsoft Jet 3.0 on Windows
                  NT 4.0

      ARTICLE-ID: Q156298
      TITLE     : FIX: Error on Disconnecting from ODBC Desktop Drivers
Keywords          : MfcDAO MfcDatabase kbtool kbbuglist kbfixlist vcbuglist400
Component         : jet
Version           : 4.0 4.0a 4.1 4.2 4.2b
Platform          : NT WINDOWS
Hardware          : x86
Issue type        : kbbug
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 19, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.