Re: C API - Mysql 5

2006-10-25 Thread Gabriel Linder
Hello, Did you try to convert the .lib file to a GCC .a library ? See http://mingw.org/mingwfaq.shtml#faq-msvcdll If reimp doesn't work, you can try pexports and dlltool. I have an old batch file I used for older MySQL versions at http://athanatos.free.fr/EXE/implib.bat [EMAIL PROTECTED]

C API - Mysql 5

2006-10-25 Thread Vincent . Badier
Hello, I'm trying to compile some C code with the simple following code (dev-c++): #include #include #include #include int main(int argc, char *argv[]) { MYSQL * mysql_con = NULL; mysql_con = mysql_init(mysql_con); return 0; } As the result, i obtain this : gcc.exe -D__DEBUG__ main.