Microsoft KB Archive/173513

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 16:37, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


BUG: Repeatedly Opening or Closing CRecordset in an Access Violation in the ODBC Cursor Library

Article ID: 173513

Article Last Modified on 3/7/2003



APPLIES TO

  • Microsoft Open Database Connectivity 3.0



This article was previously published under Q173513

BUG #: 4797 (NT: ODBC30)

SYMPTOMS

An ODBC application may get an access violation (AV) using the ODBC cursor library (Odbccr32.dll) if both of the following conditions are true:

  • It creates more than one CRecordset objects.


-and-

  • The following operations are done repeatedly on the CRecordset objects:

Open, MoveLast or Requery and Close.

The access violation error happens when the application tries to use the Close method of CRecordset or invoke the SQLFreeStmt ODBC function.

STATUS

Microsoft has confirmed this to be a problem in Open Database Connectivity version 3.0. This problem has been corrected in Open Database Connectivity version 3.5.


Additional query words: gpf general protection fault

Keywords: kbbug kbprogramming kbpending KB173513