[Linker Error] Error: Unresolved external 'odbc::ResultSetMetaData::getColumnName....


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 6 of 6

Thread: [Linker Error] Error: Unresolved external 'odbc::ResultSetMetaData::getColumnName....

  1. #1
    Join Date
    Jan 2007
    Location
    Berkshire
    Posts
    21

    [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

  2. #2
    Join Date
    Jan 2007
    Location
    Berkshire
    Posts
    21
    Ignore this for now, I found the c++ files in another directory

  3. #3
    Join Date
    Jan 2005
    Location
    UK
    Posts
    604
    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
    DKyb
    -------------------------------
    Life is a short warm moment -
    Death is the long cold rest.
    Pink Floyd
    -------------------------------

  4. #4
    Join Date
    Jan 2007
    Location
    Berkshire
    Posts
    21
    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?

  5. #5
    Join Date
    Nov 2003
    Posts
    4,118
    sql.lib maybe? Look at the .h file, maybe it has some clues. Also look for sql*.lib files.
    Danny Kalev

  6. #6
    Join Date
    Dec 2003
    Posts
    3,366
    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.

Similar Threads

  1. Replies: 5
    Last Post: 01-16-2007, 12:19 PM
  2. Link error
    By Shar in forum C++
    Replies: 5
    Last Post: 12-19-2006, 07:07 AM
  3. Replies: 0
    Last Post: 12-18-2006, 09:48 PM
  4. External Outlook Problems
    By Peter in forum Enterprise
    Replies: 0
    Last Post: 12-10-2002, 11:05 PM
  5. external file
    By neer in forum XML
    Replies: 2
    Last Post: 05-31-2001, 08:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center