help me communicate with MySql on windows using C++
MOHAMMED SEIDU <[email protected]> Fri, 27 Apr 2007 02:34:38 -0700 (PDT)
| Newsgroups | gmane.comp.db.mysql.windows |
|---|---|
| Message-ID | <[email protected]> |
Dear Sir,
I get the following errors anytime I compile an example from the tutorial books as follows:
Deleting intermediate files and output files for project 'MySql_connect - Win32 Debug'.
--------------------Configuration: MySql_connect - Win32 Debug--------------------
Compiling...
MySql_connect.cpp
i:\mysql_com.h(185) : error C2146: syntax error : missing ';' before identifier 'fd'
i:\mysql_com.h(185) : error C2501: 'SOCKET' : missing storage-class or type specifiers
i:\mysql_com.h(185) : error C2501: 'fd' : missing storage-class or type specifiers
i:\mysql_com.h(349) : error C2065: 'SOCKET' : undeclared identifier
i:\mysql_com.h(349) : error C2146: syntax error : missing ')' before identifier 's'
i:\mysql_com.h(350) : error C2059: syntax error : ')'
Error executing cl.exe.
MySql_connect.exe - 6 error(s), 0 warning(s)
Please help me as my project depends on it.
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.