> First I created a Static Library (.a) project
Is your program GPL or LGPL? If not, you need to create a DLL. You
can't do that with v1.7, but I'm in the process of getting this working
with VC++ for v2.0. I'm pretty sure the process is similar under MinGW,
but you'll have to figure it out, because I'm not likely to install
MinGW myself. At best, I'll try building under Cygwin with -mno-cygwin.
> undefined reference to `mysql_errno@4'
Read the FAQ on the page where you downloaded MySQL++.