2 messages in com.mysql.lists.plusplusVC++ and MySQL++ ??
FromSent OnAttachments
Vishal Asthana23 Jan 2002 14:00 
Vishal Asthana23 Jan 2002 14:12 
Subject:VC++ and MySQL++ ??
From:Vishal Asthana (wish@yahoo.com)
Date:01/23/2002 02:12:10 PM
List:com.mysql.lists.plusplus

Hi,

I have begun to use the MySQL++ API on a WindowsME machine using VC++ as the IDE.

For the first example (simple1.cc) given in the MySQL++ manual, here is what I do : - First I change the name of the simple1.cc file to *.cpp file otherwise VC++ doesnt recognize it as a valid 'source file', instead it treats it like a 'resource file'

- Next, I keep getting a 'fatal error' (C1083) that says "sqlplus.hh" not found : No such file or directory. I have included the 'sqlplus.hh' file in the environment, changed its extension to *.h and tried to recompile but still the same error.

Two Questions :- Q1) Is this happening because I am NOT using 'make' to compile the 'examples' directory as mentioned in the manual OR is it due to some other reason ?

Q2)If I have to use 'make' in VC++ what's the cleanest way of doing so ?

A part of my project is stuck because of this and any help in this regard would be greatly appreciated.

Please let me know. Regards -W

In the VC++ environment,