[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
# 1 Re: [Linker Error] Error: Unresolved external odbc::ResultSetMetaData::getColumnName
Ignore this for now, I found the c++ files in another directory
# 2 Re: [Linker Error] Error: Unresolved external odbc::ResultSetMetaData::getColumnName
Hi,
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.
Cheers,
D
# 3 Re: [Linker Error] Error: Unresolved external odbc::ResultSetMetaData::getColumnName
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?
# 4 Re: [Linker Error] Error: Unresolved external odbc::ResultSetMetaData::getColumnName
sql.lib maybe? Look at the .h file, maybe it has some clues. Also look for sql*.lib files.
Danny at 2007-11-11 21:02:25 >

# 5 Re: [Linker Error] Error: Unresolved external odbc::ResultSetMetaData::getColumnName
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.
jonnin at 2007-11-11 21:03:24 >
