At 10:03 07/06/2001 -0700, Jay Stewart wrote:
Hi!
Please add #include <winsock.h> at your main unit.
Regards,
Miguel
>I am attempting to add SQL client-server functionality to a Window's (2000)
>app I am developing in Borland's C++Builder v5. After installing the mysql C
>API, including the mysql.h header and setting my include and library paths
>appropriately, I was unable to compile the API code. The compiling error
>occurs in mysql_com.h at line 115 which reads "my_socket fd;" the compiling
>error is "type name expected", followed by a second error "Declaration
>missing ';'". I've looked at the code which I can see, and there doesn't
>seem to be any syntax errors. Has anyone seen something like this occur
>before?? I may need to change some settings or macros to get this to
>compile, but I don't know where to start. Any suggestions for getting around
>this problem?
>
>Thanks in advance,
>Jay
>
>
>---------------------------------------------------------------------
>Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
>To request this thread, e-mail <[EMAIL PROTECTED]>
>To unsubscribe, e-mail
><[EMAIL PROTECTED]>
>Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
--
For technical support contracts, goto https://order.mysql.com/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Miguel A. Solórzano <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Mogi das Cruzes - Săo Paulo, Brazil
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php