The information in this article applies to:
SYMPTOMSThe following ODBC error message occurs each time the application moves to a another record (X represents the column number):
CAUSE
The message occurs when you use CLongBinary field variables with database
tracing enabled. Database tracing is enabled by running Tracer.exe and
selecting the DB Tracing check box.
The RFX routine determines the size of the binary field by calling
SQLGetData() with a zero-length buffer. The variable plLength provides the
length of the binary field after the call. Because a zero-length buffer is
passed to SQLGetData(), ODBC returns a warning indicating that there may
be a problem.
RESOLUTIONIgnore the warning. STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This problem is fixed in Visual C++ 4.0,
and no reports were made for Visual C++ 2.x.
Additional query words: 2.50 2.51 2.52
Keywords : kbDatabase kbMFC kbODBC kbVC kbVC400fix |
Last Reviewed: January 20, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |