View Single Post
Old 07-19-2004, 10:17 AM   #1 (permalink)
milena
Registered User
 
Join Date: Jul 2004
Posts: 7
milena is on a distinguished road
MySQLDriverCS and VC++.NET

Hi!
I've installed MySQLDriverCS in order to be able to work with a MySQL database, but I don't know how to use this driver in a C++ console application project.
I know I am supposed to add a reference to MySQLDriverCS.dll in my solution, but I think I don't have the same version of Visual Studio.NET than the person who wrote this :
codenewbie.com/tutorials/1704.html

In fact, I can't "Add Reference" because I don't have this option in my Solution Explorer. Since I don't really know what we do when we add a reference, I'm unable to find another mean to do this. The only thing I succeeded with is adding MySQLDRiverCS.dll as a "solution item". Unfortunatly, it doesn't work because I'm still getting the following error for the line "using MySQLDriverCS;" :

error C2873: 'MySQLDriverCS' : symbol cannot be used in a using-declaration

I have Microsoft .NET Framework 1.0 and Microsoft Development environment 2002 installed and I' using the Academic version of VS.NET.
I hope someone will find out what's wrong with the way I'm trying to use MySQLDriverCS....

Thanks!
Milena
milena is offline   Reply With Quote