----- Original Message -----
From: "Earnie Boyd" <earnie@...>
> Hadi Ariwibowo wrote:
> >Btw, after re-trying again I could get a library for MinGW, but it just
> >MySQL C Api, not MySQL++, the problem I got is... MySQL++ using .lib
> >not like MySQL C Api, it uses .dll, so I can convert it using pexports
> >dlltool, as far as I know they're only used for .dll library right ?
> Which .lib files? What are their names?
As I ever said before, based on my searching in google, I could find two
The first method, as sugested by one of mysql++ members, we could build
mysql++ by using mysys.
For doing this we need libmysqlclient.a/so for mingw from
The problem is that url/link was not valid anymore (I already told him about
it...and still waiting for his answer), in googling...I still can't find
libmysqlclient.a/so for mingw (I think that's why I got error message in my
The second method, it used different way (not compiling but converting). By
using mysql library for visual c++ or .dll provided from mysql installation.
Well, I could use pexports for getting .def file and build the libmysql.a by
using dlltool (First I should edit .def file for unresolved symbol) from
Unfortunately, it just an interface in C api, and the interface in c++ (the
docs said we could use classes for working with mysql) exist in mysql++.lib,
so I need to create libmysql++.a for using c++ interface.
I just think to get libmysqlclient.a from linux distro, but I don't know if
it would get the same result ? :-)
Mm, beside that...from this situation I just know how great pexports and
dlltool, well they could convert other .dlls for mingw...really cool :-)