EDBLIB is an Embedded SQL and DB-Library program for Windows NT, Windows 95, and 16-bit Windows that was written by using the Win16/Win32 API, C language, standard libraries for 16-bit Windows and C, Embedded SQL statements, and DB-Library functions. EDBLIB connects to the specified SQL Server and issues a SELECT statement query from the authors table in the pubs database by using Embedded SQL and DB-Library. It uses the GET CONNECTION statement to obtain the DB-Library DBPROCESS connection pointer.
EDBLIB uses the following files:
EDBLIB.DEF | EDBLIB.SQC |
EDBLIB.H | GWUTIL.C |
EDBLIB.ICO | GWUTIL.H |
EDBLIB.RC |
Before building this sample, change the following line in the MAKEW.BAT batch file from
set DBLIB=0
to
set DBLIB=1
This change tells MAKEFILE to link the EDBLIB program to DB-Library. Then you can build EDBLIB for the following environments by using the associated commands.
Environment | Command |
Windows NT and Windows 95 | makew edblib nt |
MS-DOS | makew edblib dos |
16-bit Windows | makew edblib win |