Skip to Content.
Sympa Menu

freetds - [freetds] C program to connect MS SQL server

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Ashirvad Uniyal <ashirvad.uniyal AT bmpg.pl>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] C program to connect MS SQL server
  • Date: Sat, 26 Aug 2006 09:44:42 +0200

Dear All,

I want to use C program to connect MS SQL server.

In my C program, I include the following libraries.
#define DBNTWIN32
#include "windows.h"
#include <sqlfront.h>
#include <sqldb.h>
#include <stdio.h>

I encounter a lot of errors like "There is no file or directory windows.h"

Can I have a simple workable sample code in C ??

Thanks in advance,
-Ash




Archive powered by MHonArc 2.6.24.

Top of Page