Guy-Maurice Lepoutre writes: > Hello, > > I am using Visual C++ 6.0 and I have some linking > problems while trying to run the example program > MFC_ex.cpp included in the downloading files in the > mysql.com website. > Here are the errors I get: > > --------------------Configuration: MFC_ex - Win32 > Debug-------------------- > Linking... > MFC_ex.obj : error LNK2001: unresolved external symbol > "public: __thiscall > MysqlConnection::~MysqlConnection(void)" > (??1MysqlConnection@@QAE@XZ) > MFC_ex.obj : error LNK2001: unresolved external symbol > "class std::basic_ostream<char,struct > std::char_traits<char> > & __cdecl operator<<(class > std::basic_ostream<char,struct std::char_traits<char> > > &,class mysql_ColData<class const_string> const > &)"
Hi! You have to link in MySQL C API library, libmysqlclient. -- Regards, __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, Fulltime Developer /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus <___/ www.mysql.com --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php