Genchar is a generic Embedded SQL for C (ESQL/C) character-mode program that is written using plain C, standard C libraries, and Embedded SQL statements. Genchar connects to the specified server running Microsoft® SQL Server™ and issues a SELECT statement query from the authors table in the pubs database.
Genchar uses these files:
| Gcutil.c | Genchar.h |
| Gcutil.h | Quickwin.def |
| Genchar.sqc |
You can build Genchar for the following environments by using the associated commands.
| Environment | Command |
|---|---|
| Microsoft Windows NT® and Microsoft Windows® 95/98 | nmake -f "makefile." APP="genchar" |
| Microsoft MS-DOS® | nmake -f "makefile." APP="genchar" ENV="dos" |
| QuickWin | nmake -f "makefile." APP="genchar" ENV="qwin" |