3 messages in com.mysql.lists.win32Re: Using client library with MS Visu...| From | Sent On | Attachments |
|---|---|---|
| Chris Hundley | 01 Feb 2001 16:17 | |
| Jorge del Conde | 01 Feb 2001 18:28 | |
| Chris Hundley | 02 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
MySQL Development Team __ ___ ____ __ __ / |/ /_ __/ __/ __ \/ / Jorge del Conde <jor...@mysql.com> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, http://www.mysql.com/ /_/ /_/\_, /___/\___\_\____/ Mexico City, Mexico <___/
----- 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...
Chris
--------------------------------------------------------------------- Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before posting. To request this thread, e-mail win3...@lists.mysql.com
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.




