How to make sure that the ODBC.DLL and the ODBCCURS.DLL have the same cursor level in Visual C++ (127734)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++ for Windows, 16-bit edition 1.5
- Microsoft Visual C++ for Windows, 16-bit edition 1.51
- Microsoft Visual C++ for Windows, 16-bit edition 1.52
- Microsoft Visual C++, 32-bit Editions 2.0
- Microsoft Visual C++, 32-bit Editions 2.1
- Microsoft Visual C++, 32-bit Editions 2.2
- Microsoft Visual C++, 32-bit Editions 4.1
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2
- Microsoft Visual C++, 32-bit Professional Edition 4.2
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- Microsoft Data Access Components 1.5
- Microsoft Data Access Components 2.0
- Microsoft Data Access Components 2.1
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.6
- Microsoft Data Access Components 2.7
This article was previously published under Q127734 SUMMARY The ODBC Driver Manager and the Cursor Library must have
the same cursor level. ODBC.DLL and ODBCCURS.DLL are the corresponding files in
16-bit Windows. ODBC32.DLL and ODBCCR32.DLL are the corresponding files in
32-bit Windows. Attempting to use these dynamic link libraries with
mismatched cursor levels will cause the cursor library to fail to load. If the
cursor library fails to load, the recordset will be a forward-only, read-only
recordset. The following message may appear in the trace output when this
condition exists: Cursor library not used. Version
mismatch with driver manager State:01000[Microsoft][ODBC DLL]
In some older versions of ODBC.DLL, this message may not appear even if the
Driver Manager and Cursor Library do not match.
| Modification Type: | Major | Last Reviewed: | 4/28/2005 |
|---|
| Keywords: | kbinfo kbDatabase kbenv kbhowto KB127734 kbAudDeveloper |
|---|
|