Article ID: 158622 - Last Review: July 27, 2001 - Revision: 1.0 BUG: Cursor Library Fails to Close BufferThis 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. 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.
MORE INFORMATION
The following sequence outlines the scenario:
| Article Translations
|

Back to the top
