[Linker Error] Error: Unresolved external 'odbc::ResultSetMetaData::getColumnName....
I am getting errors like this....
Is the odbc significant?
Can anyone help?
[Linker Error] Error: Unresolved external 'odbc::ResultSetMetaData::getColumnName(int) const' referenced from C:\PROJECTS\WS_B\SERVER\VERSION.EXE\OBJ\ODBCENGINEENVIRONMENT.OBJ
Ignore this for now, I found the c++ files in another directory
ODBC is significant if you want to connect to a Database. ;-)
(I think ODBC stands for O]pen D]ataB]ase C]onnectivity).
Looks like you didn't include an ODBC DLL/LIB into your project.
The error means, that you included all the neccessary headers
==> hence no compilation error, but when you link the objects
the object file where 'odbc::ResultSetMetaData::getColumnName(int) const'
resides is missing.
Life is a short warm moment -
Death is the long cold rest.
I solved that but I'm now getting....
[Linker Error] Error: Unresolved external 'SQLGetData' referenced from C:\PROJECTS\WS_B\SERVER\VERSION.EXE\OBJ\DATASTREAM.OBJ
I have the sql.h but what is the library?
sql.lib maybe? Look at the .h file, maybe it has some clues. Also look for sql*.lib files.
If you have any sort of online help with whatever library set all this came from, it *should* have a description of the functions including header and lib file for each one.
By Chris H Baker in forum C++
Last Post: 01-16-2007, 11:19 AM
Last Post: 12-19-2006, 06:07 AM
Last Post: 12-18-2006, 08:48 PM
By Peter in forum Enterprise
Last Post: 12-10-2002, 10:05 PM
Last Post: 05-31-2001, 07:59 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL