www.digitalmars.com         C & C++   DMDScript  

c++ - MySQL API

reply Nauman <Nauman_member pathlink.com> writes:
I am trying to test the API sample for MySQL that is provided with the MySQL.
Why is their library not a valid library?  Am I referencing it incorrectly?  I
am using the integrated environment.

sc myTest.c -mn -C -WA -S -3 -a8 -c -gf -D_CONSOLE=1 -Ic:\digital\test2
-omyTest.obj 
Warning: C:\DIGITAL\TEST2\myTest.c(85): possible unintended assignment
Warning: C:\DIGITAL\TEST2\myTest.c(106): possible unintended assignment
Warning: C:\DIGITAL\TEST2\myTest.c(109): possible unintended assignment
Warning: C:\DIGITAL\TEST2\myTest.c(134): possible unintended assignment
Warning: C:\DIGITAL\TEST2\myTest.c(136): possible unintended assignment
Warning: C:\DIGITAL\TEST2\myTest.c(151): possible unintended assignment
Warning: C:\DIGITAL\TEST2\myTest.c(153): possible unintended assignment
link /CO /NOI /DE /NOPACKF /XN /NT /ENTRY:mainCRTStartup /BAS:4194304 /A:512
 test2.LNK 
Error: C:\digital\test2\libmySQL.LIB (8): Not a Valid Library File 
Lines Processed: 125440  Errors: 1  Warnings: 7
Build failed
May 04 2005
parent "Walter" <newshound digitalmars.com> writes:
"Nauman" <Nauman_member pathlink.com> wrote in message
news:d5avnr$2ds4$1 digitaldaemon.com...
 I am trying to test the API sample for MySQL that is provided with the
MySQL.
 Why is their library not a valid library?
This should help: www.digitalmars.com/d/faq.html#omf
May 04 2005