Skip to Content.
Sympa Menu

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

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] C program to connect MS SQL server
  • Date: Sat, 26 Aug 2006 09:48:01 +0200

Il giorno sab, 26/08/2006 alle 09.44 +0200, Ashirvad Uniyal ha scritto:
> 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

???

Perhaps

#include <sqlfront.h>
#include <sqldb.h>
#include <stdio.h>

Others are windows specific

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page