Re: C mysql functino problem

2003-09-19 Thread Paul DuBois
At 3:09 PM +0200 9/19/03, [EMAIL PROTECTED] wrote: Hello, I tried to code a (very) small program under windows, this is my first with C mysql functions : #include #include Try including my_global.h before mysql.h and see if that helps. int main(void) { MYSQL *mysrv = NULL; mysrv = mysql_init(my

C mysql functino problem

2003-09-19 Thread Vincent . Badier
Hello, I tried to code a (very) small program under windows, this is my first with C mysql functions : #include #include int main(void) { MYSQL *mysrv = NULL; mysrv = mysql_init(mystruct); if ( mysrv == NULL ) { perror("Struct initialize failed\n"); exit (-1); } mysql_close(mystruct