3 messages in com.mysql.lists.plusplusRe: Using MySQL++ with Microsoft VC++...| From | Sent On | Attachments |
|---|---|---|
| Leon Heller | 23 Dec 2001 02:21 | |
| Adam Clauss | 23 Dec 2001 17:13 | |
| Leon Heller | 24 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 |
Question.... so where in the examples project does it tell it to link to the mysql++.lib file? Adam Clauss caba...@tamu.edu
----- Original Message ----- From: "Leon Heller" <leon...@hotmail.com> To: <plus...@lists.mysql.com> Sent: Sunday, December 23, 2001 4:21 AM Subject: Using MySQL++ with Microsoft VC++ 6.0
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.
Leon
-- Leon Heller, G1HSM Tel: +44 1327 359058 Email:leon...@hotmail.com My web page: http://www.geocities.com/leon_heller My low-cost Altera Flex design kit: http://www.leonheller.com
_________________________________________________________________ Join the world's largest e-mail service with MSN Hotmail. http://www.hotmail.com




