I bought a new version of Visual Studio : Visual Studio.NET 2003 Academic Version (wich is the Pro version + student tools). Strangely, it is really different from my 2002 Academic version. I've reinstalled MySQLDriverCS after installing VS.NET 2003.
I've added a reference to MySQLDriverCS in my project and added the path to MySQLDriverCS.dll in the project properties, under the C++/General tag).
Then, I've tried using the dll the same way as I'm actually using other dlls:
Code:
#import "MySQLDriverCS.dll"
But I got the following error when trying to build the project:
fatal error C1083: Cannot open type library file: 'c:\program files\mysqldrivercs\dll\mysqldrivercs.dll': Erreur lors du chargement de la bibliothèque/DLL du type.
(sorry for the French part. I don't know the exact translation, but it's something like:"Error while loading library/of DLL type" )
Then, I've tried to use the library the way sde suggested me (even if I was really sceptic about the syntax

). It compiles, but there are a lot of warnings. Then if I try the following code:
Code:
MySQLConnection con;
I get this error:
error C2065: 'MySQLConnection' : undeclared identifier
So, I'm unable to use the library this way too.
Now, I just don't know what else to try...any suggestions?