BUG: Cursor Library Fails to Close Buffer (158622)
The information in this article applies to:
This article was previously published under Q158622
2.50
WINDOWS
kbusage kbbug2.50 kbother
BUG #: 4317 (ODBC3.0 SDK)
SYMPTOMS
Under certain situations, multithreaded applications using the ODBC Cursor
Library generate the following error message:
SQLFreeStmt:
szSqlState = S1000
pfNativeError = 0
szErrorMsg = [Microsoft][ODBC Cursor Library]
General error: Unable to close or remove file buffer.
Applications using MFC database classes with snapshots use the ODBC Cursor
Library, so they may also generate this error message.
WORKAROUND
If you are using the ODBC API, change the connection option to use driver
cursors, such as SQLSetConnectOption( .. SQL_ODBC_CURSORS,
SQL_CUR_USE_DRIVER). Use Dynasets when using MFC Database Classes.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft ODBC SDK 2.5.
We are researching this problem and will post new information here in the
Microsoft Knowledge Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 7/27/2001 |
---|
Keywords: | kbBug KB158622 |
---|
|