Hello Steve (smays),
While I'm not directly interested in the subject of the original post, I would be VERY interested in learning more about how you got the MySQL C API (not the C++ API) working from BCB.
If your kind offer to compile your notes on what tweaks you made to the MySQL C header files to make them BCB friendly is still on the table, I would very much appreciate it.
FYI -- Like you, I actually have achieved connectivity and basic queries with MySQL via the C API from Borland C++ Builder 6.0, but did this by excluding some of the required-or-recommended header files, specifically my_global.h and my_sys.h. Including mysql.h works fine. My concern with the exclusions is that some MACROS are not defined (not noticing a problem so far, but...) and apparently one of those header files is for Windows/Linus compatibility (ultimately this code will be compiled on Linux as well, and I'm concerned about potential data-type compatibility).
Also, I couldn't link with mysqlclient.lib as documented, but instead ran "implib libmysql_borland.lib libmysql.dll" and linked with the resulting .lib file instead (found this solution on the web and to my pleasant surprise, it seems to have worked -- unfortunately, I came across no solution to the header file problems).
I hope you are able to take the time to post your notes -- if so, THANK YOU VERY MUCH in advance.
Cheers,
-Brian