BUG: Cursor Library Fails to Close BufferLast reviewed: December 17, 1996Article ID: Q158622 |
The information in this article applies to:
SYMPTOMSUnder 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.
WORKAROUNDIf 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.
STATUSMicrosoft 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 INFORMATIONThe following sequence outlines the scenario:
|
Additional reference words: 2.50 VC
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |