5 messages in com.mysql.lists.plusplusRe: Trouble with use of MySQL++ on MS...| From | Sent On | Attachments |
|---|---|---|
| PAUL MENARD | 15 Jun 2003 16:30 | |
| Sinisa Milivojevic | 16 Jun 2003 05:31 | |
| PAUL MENARD | 17 Jun 2003 20:23 | |
| Sinisa Milivojevic | 19 Jun 2003 04:50 | |
| PAUL MENARD | 21 Jun 2003 20:22 |
| Subject: | Re: Trouble with use of MySQL++ on MS VC++ client after upgrade from MySQL 3.23 to 4.0![]() |
|---|---|
| From: | PAUL MENARD (fp...@flash.net) |
| Date: | 06/17/2003 08:23:03 PM |
| List: | com.mysql.lists.plusplus |
Well I'm back. Sorry Sinisa.
I checked my include paths. everything looks okay. Here are the details
Path for MySQL++ stuff- E:\MySQL_DEV\MySQL++\
Contains 'include', 'lib', 'mysql'
Path for MySQL stuff, I have 2 E:\MySQL_DEV\MySQL for version 3.23.42 contains the 'lib' and 'include' folder.
E:\MySQL_DEV\MySQL-4.0 for version 4.0 of MySQL contains same named 'lib' and 'include' folders.
When I want to change from linking with MySQL 3.23 libs to the new MySQL 4.0 I
just rename the above folders. In this case, 'MySQL' becomes 'MySQL_3.23' and
the 'MySQL-4.0' becomes the new 'MySQL'. This way I don't have to change any
configurations in VC++.
In VC++ I have the following definitions in Tools->Options->Directories->Include Files E:\MYSQL_DEV\MYSQL++\INCLUDE E:\MYSQL_DEV\MYSQL\INCLUDE
Tools->Options->Directories->Library Files E:\MYSQL_DEV\MYSQL++\LIB E:\MYSQL_DEV\MYSQL\LIB\DEBUG
Assumtions here:
I know of nothing that needs to change under my MySQL++ folders. In other words
no changes or overlays to includes.
Any ideas???
Paul
Sinisa Milivojevic <sin...@beotel.yu> wrote: On Sun, 15 Jun 2003 16:30:55 -0700 (PDT) PAUL MENARD wrote:
Hello All,
I have a MSVC++ client that uses the MySQL++ client lib version 1.7.1 that has been working flawless with MySQL version 3.23.42. After reading the review I decided to upgrage to MySQL 4.0. After this I noted the compiled binary would not connect to the database. Actually this is a wrong statement. The error when debugging under MS VC 6.0 is a exception.
Assuming I needed to recompile, I swapped out the 'libMySQL.lib' and 'libMySQL.dll' and did a full recompile. I am still getting the error.
Here are the specific filenames and their sizes in case this helps.
MySQL++ libMySQL++.lib 425K 8/6/2001
MySQL files (Original 3.23.42) DEBUG Version libMySQL.dll 409K 9/15/2001 libMySQL.lib 19K 9/15/2001
MySQL files (New with 4.0) DEBUG Version libMySQL.dll 429K 2/28/2003 libMySQL.lib 24K 2/28/2003
I do not want or wish to recompile the MySQL++ Libs. I would hope if there was a dependency that someone at MySQL would provide a properly compiled version.
Any help, suggestions, directions would be appreciated.
Paul
There is no incompatibility between 3.23 and 4.0 C API, what so ever.
What happend most probably is that you use old header files with new library.
--
Regards,
-- For technical support contracts, go to https://order.mysql.com/?ref=msmi __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic / /|_/ / // /\ \/ /_/ / /__ MySQL AB /_/ /_/\_, /___/\___\_\___/ Fulltime Developer and Support Coordinator <___/ www.mysql.com Larnaca, Cyprus
-- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=fp...@flash.net




