I work with MSVC60 on Win98se with mysql-4.0.16-win. I got a project that compile and link. The mysql-include folder is set as a standard include folder and I link the project against mysqlclient.lib.
If I include <mysql.h> in some of my source-files I got this errors from the compiler: <err> --------------------Konfiguration: VerleihNix - Win32 Debug-------------------- Kompilierung läuft... VNApplication.cpp c:\mysql\include\mysql_com.h(116) : error C2146: Syntaxfehler : Fehlendes ';' vor Bezeichner 'fd' c:\mysql\include\mysql_com.h(116) : error C2501: 'SOCKET' : Fehlende Speicherklasse oder Typbezeichner c:\mysql\include\mysql_com.h(116) : error C2501: 'fd' : Fehlende Speicherklasse oder Typbezeichner c:\mysql\include\mysql_com.h(180) : error C2065: 'SOCKET' : nichtdeklarierter Bezeichner c:\mysql\include\mysql_com.h(180) : error C2146: Syntaxfehler : Fehlendes ')' vor Bezeichner 's' c:\mysql\include\mysql_com.h(181) : error C2059: Syntaxfehler : ')' Fehler beim Ausführen von cl.exe. VerleihNix.exe - 6 Fehler, 0 Warnung(en) </err> I do not use any mysql-code! I only include the mysql.h. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]