DOCUMENT:Q164819 04-MAY-2001 [visualc] TITLE :FIX: Problems Using Database Classes with Jet 3.0 under NT 4.0 PRODUCT :Microsoft C Compiler PROD/VER:winnt:4.0,4.0a,4.1,4.2,4.2b OPER/SYS: KEYWORDS:kbDAOsearch kbDatabase kbMFC kbODBC kbVC ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual C++, 32-bit Editions, versions 4.0, 4.1, 4.2, 4.0a, 4.2b, on platform(s): - the hardware: Intel 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 .... 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: Q151186 ACC95: Updated Jet DLLs Available on MSL Q143163 PRB: Problems Running Microsoft Jet 3.0 on Windows NT 4.0 Q156298 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. Additional query words: kbVC400bug ====================================================================== Keywords : kbDAOsearch kbDatabase kbMFC kbODBC kbVC Technology : kbVCsearch kbAudDeveloper kbVC32bitSearch Version : winnt:4.0,4.0a,4.1,4.2,4.2b 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. Copyright Microsoft Corporation 2001.