From: Peter_Monks AT PWU DOT PW-EXTERNAL DOT australia DOT notes DOT pw DOT com Message-Id: <199711180021.QAA11718@cactus.tc.pw.com> To: djgpp AT delorie DOT com Date: Tue, 18 Nov 97 09:10:14 +1000 Subject: Re: C API for MS-SQL server? Precedence: bulk In comp.os.msdos.djgpp, Weiqi Gao wrote: >Sejin Oh wrote: >> >> is there any C/C++ API for MS-SQL database server? if not, how can make >> it so using djgpp or turbo C++/turbo vision. all these from DOS or OpenDOS. >> >> where can i find more information about it? > >I doubt if you can find any DOS APIs for MS SQL Server. Yes, there is a DOS interface to MS SQL-Server. It is called DBLIB, and is available on all MS platforms (DOS, Win16, and Win32). It is a C interface to SQL Server, and is used by many of the tools that come with MS SQL-Server (ISQL for example). I doubt it would be possible to get it to work with DJGPP, however, since it only comes in library form (which is MS library format, not DJGPP format). Probably your best alternative would be to play around with DJGPP+RSXNTDJ to see whether they will work with the Win32 version of DBLIB (which is basically just a bunch of DLLs + associated headers). Good luck! Peter ---------------------------------------------------------------------- Peter Monks http://www.geocities.com/yosemite/4455/ pmonks AT iname DOT com Peter_Monks AT australia DOT notes DOT pw DOT com