Connection to MSSQL from C using freeTDS

Mahendra T <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <OF855DBF98.69076CFF-ON652576DA.0029E16B-652576DA.002A662D@tcs.com>
Hi, 
Can someone tell me how to compile a C program to work with freeTDS?
I have got freeTDS installed on Sun Solaris and MSSQL on windows, I was 
able to connect to MSSQL from perl using freeTDS.
Now I would need to do it with C and C++ also.

I have gone through the documentation given in http://freetds.org/ but 
could not locate some help on this.
Any ideas are appreciated.
Thank you.

Mahendra
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.