[freetds] C program to connect MS SQL server
Frediano Ziglio
freddyz77 at tin.it
Sat Aug 26 03:48:01 EDT 2006
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
More information about the FreeTDS
mailing list