|
Borland C++
You can compile the MySQL Windows source with Borland C++ 5.02. (The
Windows source includes only projects for Microsoft VC++, for Borland C++ you
have to do the project files yourself).
One known problem with Borland C++ is that it uses a different structure
alignment than VC++. This means that you will run into problems if you try to
use the default
libmysql.dll libraries
(that was compiled with VC++) with Borland C++. You can do one of the following
to avoid this problem.
- You can use the static MySQL libraries for Borland C++ that you can find on
http://www.mysql.com/downloads/os-win32.html.
- Only call
mysql_init() with
NULL as an argument, not
a pre-allocated MYSQL struct.
|