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:Chris Hundley (chr@premierepages.com)
Date:02/02/2001 06:20:25 AM
List:com.mysql.lists.win32

I don't understand - comment that line out of the "mysqlcom_h" file? Which part do I comment out? Is this documented anywhere? Thanks for the help...

Chris

Jorge del Conde wrote:

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

----- Original Message ----- From: "Chris Hundley" <chr@premierepages.com> To: <win@lists.mysql.com> Sent: Thursday, February 01, 2001 6:18 PM Subject: Using client library with MS Visual C++

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.

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.