3 messages in com.mysql.lists.win32Re: Using client library with MS Visu...
FromSent OnAttachments
Chris Hundley01 Feb 2001 16:17 
Jorge del Conde01 Feb 2001 18:28 
Chris Hundley02 Feb 2001 06:20 
Subject:Re: Using client library with MS Visual C++
From:Jorge del Conde (jor@mysql.com)
Date:02/01/2001 06:28:13 PM
List:com.mysql.lists.win32

Hi,

THe code you're getting an error from is for Perl !

Simply comment that line out and you should have no problems at all !

Regards Jorge

I've followed the instructions and included the mysql header along with windows.h, like:

#include <windows.h> #include <mysql.h>

Also included "libmysql.lib" in my project settings under the "Link" tab. When I compile I'm getting errors like:

mysql_com.h(85) : error C2146: syntax error : missing ';' before identifier 'fd'

I've gotten the sample that comes with the mysql client to compile without errors. It's a simple console app. I'm trying to get it to compile into a Win32 application. What am I doing wrong? Thanks in advance for the help...

To unsubscribe, send a message to the address shown in the List-Unsubscribe header of this message. If you cannot see it, e-mail win3@lists.mysql.com instead.