On Tue, 17 Jun 2003 20:23:25 -0700 (PDT)
PAUL MENARD <fp...@flash.net> wrote:
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++.
You have to re-check your project file.
YOu do not need both 3.23 and 4.0 includes and libs.
It could be a problem with .lib file that you have used in project, while you
have to check the order in which include directories have been specified.
Use project files for VC++ from MySQL and just change them to reflect your
setup.
Regards,