At 21:38 08/06/2001 -0500, Adam Clauss wrote:
Hi,
If you are compiling a console application without the support
of MFC add the #include  <windows.h> line, otherwise when using
MFC during the wizard process, check the support for sockets.

Regards,
Miguel

>I am using VC++ 6 on Win2K.
>What is the exact process I need to go through to set this up to use it?
>I compiled the original project in the root directory.  I then setup one 
>of my programs to include the <mysql.h> as the example had.  I also have 
>the lib file included to link in the project settings.  But when I compile 
>I get several errors...
>
>c:\my documents\my c++\mysqlapi\mysql\include\mysql_com.h(114) : error 
>C2146: syntax error : missing ';' before identifier 'fd'
>c:\my documents\my c++\mysqlapi\mysql\include\mysql_com.h(114) : error 
>C2501: 'SOCKET' : missing storage-class or type specifiers
>c:\my documents\my c++\mysqlapi\mysql\include\mysql_com.h(114) : error 
>C2501: 'fd' : missing storage-class or type specifiers
>
>What do I need to do?
>Adam
>[EMAIL PROTECTED]

-- 
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

Reply via email to