MySQL Forums
Forum List  »  Connector/C++

Re: Unresolved external '_get_driver_instance'
Posted by: John Lemon
Date: January 23, 2009 04:30PM

Ok, i fixed the problem.

I forgot to add "mysqlcppconn.lib" at the end of the compile line. But that wasn't enough. "mysqlcppconn.lib" is in COFF format and Borland only supports OMF format.

So you need to convert it first with borland's coff2omf utility, like this:
coff2omf -lib:ms mysqlcppconn.lib mysqlcppconn_omf.lib

Now it's working !

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Unresolved external '_get_driver_instance'
5985
January 23, 2009 04:30PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.