DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 6 of 6
  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, 11:19 AM
  2. Link error
    By Shar in forum C++
    Replies: 5
    Last Post: 12-19-2006, 06:07 AM
  3. Replies: 0
    Last Post: 12-18-2006, 08:48 PM
  4. External Outlook Problems
    By Peter in forum Enterprise
    Replies: 0
    Last Post: 12-10-2002, 10:05 PM
  5. external file
    By neer in forum XML
    Replies: 2
    Last Post: 05-31-2001, 07:59 PM

Bookmarks

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


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


Sponsored Links