
  MySQL++ 1.7.9 for Borland C++ Builder 6.0


    1. Introduction

1. Package contains latest version (1.7.9) of MySQL++ library
<http://www.mysql.com/products/mysql++/index.html> for Borland C++
Builder 6.0 <http://www.borland.com/cbuilder/index.html>. This is a beta
release. 


    2. Installation

1.  Once you have downloaded the file named
mysql++-1.7.9-win32-bcb6-2.zip. Extract archive to wherever you would like.

2.  You must have the Borland C++ Builder 6.0 installed. Older versions
of the C++ Builder do not work with the given package.

3.  After unpacking you will find the following structure:

 +-include
 |  +-mysql ... mysql C API header files. Directory
 |              contains Borland specific interpretations
 |              of the interface to mysql
 +-lib
 |  +-deb ... Debug version of the libmysql.dll with import
 |            library for Borland compilers
 |  +-rel ... Release version of the libmysql.dll with import
 |            library for Borland compilers  
 +-src     
   +-sqlplus .... source code and project files of the
   |    |          mysql++ library. This directory
   |    |          need to be included in all your mysql++ projects.
   |    |
   |    +-debug  ..... compiled debug version of mysql++ library. 
   |    |              (Used for debugging ++ apps)
   |    +-release ... compiled release version of mysql++ library.
   |
   +-examples  ... some simple examples for Borland C++ Builder 6.0 
       |
       +not_compiled ... just as it states, examples that cant be 
                         compiled by Borland.

4.  Copy lib\deb\libmysql.dll to the Windows directory. Please make 
sure that other versions of that file does not exist in the Your system.

5.  Next you may want to build the examples for your machine.  To do
this, the author of the library has provided a project group file
src\examples\examples.bpg <src/examples/examples.bpg>.  Alternatively,
it  is possible to open the particular project using appropriate bpr
file.  Examples contain command-line applications as well as GUI (VCL)
programms.

5.  Next, you may want to rebuild the MySQL++ library. To do this, the
author of the library has provided a project file
src\sqlplus\mysqlplus.bpr <src/sqlplus/mysqlplus.bpr>. 


    3.Notes

1. You should always include <windows.h> in your cpp files.
2. Source of the original MySQL++ is modified. In case if new version of
MySQL++ will be released, it will not be possible automatically to
recompile the library.
3. The library is not tested very much. It is very possible that bugs
still exist.
4. If your program crashes, please pay attention to the compiler
options. For this purpose please open the .bpr file of your project in
plain text editor and make sure that section <LINKER> look something
like this:

<LINKER>
 <ALLOBJ value="c0x32.obj $(PACKAGES) $(OBJFILES)"/>
 <ALLRES value="$(RESFILES)"/>
 <ALLLIB value="$(LIBFILES) $(LIBRARIES) import32.lib cw32i.lib"/>
 <OTHERFILES value=""/>
</LINKER>

5. If your programs still crash, author recommends recompiling the
MySQL++ library using src\sqlplus\mysqlplus.bpr
<src/sqlplus/mysqlplus.bpr> project file.


      GOOD LUCK!!!

July 15, 2003    	Arturs Aboltins
                            freeart@latnet.lv <mailto:freeart@latnet.lv>

                

