Since I can't PM you, I'll remind you of the rules here.
Bumping old threads with a related problem is not allowed, so I've split your message off into a new thread.
http://cboard.cprogramming.com/showt...threadid=13473
Oh, and I've deleted your other thread as you requested.
Given that mysql is the 'C' API and mysql++ is the 'C++' API, I'd say you've got some kind of mis-match.
The problem is, the compiler has turned the C name mysql_close() into it's C++ equivalent, and obviously this doesn't exist.
I'd try
Code:
extern "C" {
#include <mysql.h>
}
To force the C++ compiler to treat the SQL header file as C (though this should be done inside the header)