Genwin (Generic for Windows NT, Windows 95, Windows 98, and 16-bit Windows)
Genwin is a generic Embedded SQL for C (ESQL/C) 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, and Embedded SQL statements. Genchar connects to a specified instance of Microsoft SQL Server™ 2000 and issues a SELECT statement query from the authors table in the pubs database.
Default Location
x:\Program Files\Microsoft SQL Server\80\Tools\Devtools\Samples\Esqlc
Running the Sample
You can build Genwin for the following environments using the associated commands.
Environment | Command |
---|---|
Microsoft Windows 2000, Microsoft Windows NT 4.0, Microsoft Windows 95, and Microsoft Windows 98 |
nmake -f "makefile." APP="genwin" SUBSYS="windows" |
16-bit Windows | nmake -f "makefile." APP="genwin" SUBSYS="windows" ENV="win16" |
Remarks
Genwin uses these files.
Genwin.def | Genwin.sqc |
Genwin.h | Gwutil.c |
Genwin.ico | Gwutil.h |
Genwin.rc |