May 04, 2005
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
"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