Hi all, I dont know if this is the best place to ask this question... Is there a DLL etc, to allow connection to a MSSQL 2000 and 2005, from a simple C application, preferably via TCP port 135? I dont want an overly complex COM etc, solution. Just something which allows the issuing of SQL commands and retrieval of the results. Thanks in advance Gary
What DLL to use depends on what database access API you plan to use in your C code. If you use ODBC, you most likely don't need to install any DLL because it's probably already on your Windows. If not, you can download it form the MS site. If you want to be simple in retrieving data from SQL Server, using .NET (in C# for instance) is probably the simplest because of the various SqlClient classes you can use. Linchi "Gary Partis (Mobile)" wrote: > Hi all, > > I dont know if this is the best place to ask this question... > > Is there a DLL etc, to allow connection to a MSSQL 2000 and 2005, from a > simple C application, preferably via TCP port 135? > > I dont want an overly complex COM etc, solution. Just something which > allows the issuing of SQL commands and retrieval of the results. > > Thanks in advance > > Gary >