MDAC 2.5 SDK - ODBC Samples


 

Cursor Demo Sample Files

Files Location

The Cursor Demo sample code resides in the \Samples\Odbc\Cursor directory. The executable file Crsrdemo.exe is located in the \Bin\Odbc directory.

Sample Code File Contents

File name Description
Child.C Contains routines that maintain a child window. These include most interfaces with ODBC as well as all data retrieval and display.
Child.ico The minimized child window icon.
Crsrdemo.bat Batch file.
Crsrdemo.c The main module. Contains the standard functions used in a Windows-based program (such as WinMain) plus two functions shared among all the files.
Crsrdemo.Def The module definition file Cursor Demo.
Crsrdemo.h Contains the prototypes and definitions for Crsrdemo.c.
Crsrdemo.ico Cursor Demo icon.
Crsrdemo.mak Builds the ODBC Cursor Demo application.
Crsrdemo.rc Resource file for Cursor Demo.
Dialogs.c Displays and manages Cursor Demo dialog boxes.
Frame.c Manages the main frame window. The frame window owns the MDI client window, the menu bar, and other major parts of the interface.
Headers.c Implements precompiled headers.
Headers.h The precompiled-headers file.
Resource.h Contains definitions used by Crsrdemo.rc.