Edblib (Embedded SQL and DB-Library for Windows NT, Windows 95, Windows 98, and 16-bit Windows)
Edblib is an Embedded SQL for C (ESQL/C) and DB-Library program for Microsoft® Windows® 2000, Microsoft Windows NT® 4.0, Microsoft Windows 95, and Microsoft Windows 98, and 16-bit Windows written using the Win16/Microsoft Win32® API, C language, standard libraries for 16-bit Windows and C, Embedded SQL statements, and DB-Library functions. Edblib connects to a specified instance of Microsoft SQL Server™ 2000 and issues a SELECT statement query from the authors table in the pubs database using ESQL/C and DB-Library. It uses the GET CONNECTION statement to obtain the DB-Library DBPROCESS connection pointer.
Default Location
x:\Program Files\Microsoft SQL Server\80\Tools\Devtools\Samples\Esqlc
Running the Sample
You can build Edblib for the following environments by using the associated commands.
Environment | Command |
---|---|
Microsoft Windows 2000, Microsoft Windows NT 4.0 and Microsoft Windows 95/98 |
nmake -f "makefile." APP="edblib" SUBSYS="windows" |
16-bit Windows | nmake -f "makefile." APP="edblib" SUBSYS="windows" ENV="win16" |
Remarks
Edblib uses these files.
Edblib.def | Edblib.sqc |
Edblib.h | Gwutil.c |
Edblib.ico | Gwutil.h |
Edblib.rc |