The information in this article applies to:
SYMPTOMS
If an ODBC application uses SQLCancel instead of SQLFreeStmt to close an
ODBC cursor after some data has been processed, the ODBC cursor library
version 2.5 may generate a memory leak.
CAUSE
An ODBC application should only call SQLCancel when dealing with
asynchronous processing. ODBC applications should always use SQLFreeStmt
and SQL_CLOSE rather than SQLCancel to close the statement handle.
MORE INFORMATIONA Visual Basic application can call the Close and OpenRecordset methods instead of ReQuery. The Close method invokes SQLFreeStmt and SQL_CLOSE to close the statement handle. Additional query words: 2.50 4.00
Keywords : SSrvProg |
Last Reviewed: August 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |