The information in this article applies to:
SYMPTOMSWhen building an application using the ODBC Software Development Kit (SDK), linker error L2029 "unresolved external" may occur on calls made to ODBC functions. CAUSE
Several header files included with the ODBC SDK are missing extern
"C" statements, which are needed to make them compatible with a C++
compiler. The functions residing in the ODBC libraries do not have
decorated names, and therefore the extern "C" statement is necessary
if you are calling the functions from an application written in C++.
RESOLUTION
There are two ways to handle this problem:
-or- STATUSMicrosoft has confirmed this to be a problem in the products listed at the beginning of this article. The problem was corrected in Visual C++ for Windows version 1.5 by including new versions of the four header files listed above. Additional query words: 1.00 1.50 7.00 8.00 8.00c
Keywords : kb16bitonly kbCompiler kbCPPonly kbVC |
Last Reviewed: July 31, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |