Admin Demo Files

Files Location

The Admin Demo source code resides in the \Samples\Odbc\Admin directory. The executable file Admndemo.exe resides in the \Bin\Odbc directory.

Source Code File Contents

File name Description
ADMNDEMO.C This is the main module. It creates the main window and handles rudimentary functionality (such as displaying the About dialog box).
ADMNDEMO.DEF The module definition file for Admin Demo.
ADMNDEMO.DLG Contains the dialog templates for Admin Demo.
ADMNDEMO.H Contains the prototypes and definitions for ADMNDEMO.C.
ADMNDEMO.ICO Admin Demo icon.
ADEMO.MAK Builds the ODBC Admin Demo application.
ADMNDEMO.RC Resource file for Admin Demo.
CHILD.H Contains the main structure for tracking Connection window information, including ODBC handles.
CONNECT.ICO Minimized connection window icon.
DIALOGS.C Contains code for the catalog functions found under the Lists menu.
DIALOGS.H Contains the prototypes and definitions for DIALOGS.C.
ERRCHECK.C Contains generic error-checking utility functions.
ERRCHECK.H Contains the prototypes and definitions for ERRCHECK.C.
EXECUTE.C Executes ad hoc SQL statements and file scripts, as well as the Windows code for displaying result sets.
EXECUTE.H Contains the prototypes and definitions for EXECUTE.C.
INFO.C Used to track informational items found under the Info menu.
INFO.H Contains the prototypes and definitions for INFO.C.
INI.C Used to track .INI file information. These functions abstract access to the ADMNDEMO.INI file, making it more portable.
INI.H Contains prototypes and definitions for INI.C.
MENU.C Contains state-tracking code as well as the menu-enabling routines.
MENU.H Contains the prototypes and definitions for MENU.C.
RESULTS.C Contains code for describing result sets, including all column information, data, and screen output attributes.
RESULTS.H Contains the prototypes and definitions for RESULTS.C.
RESULTS.ICO This is the minimized result set icon.
STANDARD.C Contains a set of common functions used by several different modules.
STANDARD.H Contains the prototypes and definitions for STANDARD.C.
STRINGS.H Contains string IDs for resource strings found in ADMNDEMO.RC.