3 messages in com.mysql.lists.plusplusRe: Using MySQL++ with Microsoft VC++...
FromSent OnAttachments
Leon Heller23 Dec 2001 02:21 
Adam Clauss23 Dec 2001 17:13 
Leon Heller24 Dec 2001 08:43 
Subject:Re: Using MySQL++ with Microsoft VC++ 6.0
From:Adam Clauss (caba@tamu.edu)
Date:12/23/2001 05:13:02 PM
List:com.mysql.lists.plusplus

I had a little difficulty getting MySQL++ working with Microsoft VC++. The following notes should help anyone else to get started without any problems.

Using MySQL++ with Microsoft VC++ 6.0

-------------------------------------

The following assumes that you have successfully installed MySQL for Win95/98 etc.

1. Download mysql++-***-win32-vc++.zip.

2. UnZIP the file into a directory. I use 'mysql++'.

3. Run VC++ and open the workspace '\mysql++\mysqlpp.dsw'.

4. From the Build menu 'Rebuild All'. Disregard all the C4273 and C4355 warnings.

5. Close the workspace.

6. Open workspace '\mysql++\examples\examples.dsw'.

5. From the Build menu 'Rebuild All'. Disregard all the C4273, C4800 and C4355 warnings.

6. Start the MySQL daemon by executing '~\mysqld.exe'.

7. Execute '\mysql++\examples\resetdb.exe'. This should create a database directory 'mysql_cpp_data' in your main MySQL '~\data' directory, containing 'stock' database files.

8. Execute '\mysql++\examples\release\examples.exe' from a DOS box. You should see the results of a query on the 'stock' database.

My thanks to 'The Lazy Fox' for making his code available.