BUG: Open/Close CRecordset Repeatedly Results in AV

ID: Q173513

The information in this article applies to:

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:

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          : kbprg SSrvProg odbcCursor odbcGPF kbbug3.00 
Version           : WINDOWS:3.00.2821
Platform          : WINDOWS
Issue type        : kbbug
Solution Type     : kbpending

Last Reviewed: June 13, 1998