The following source files are included with Query Demo. The source files are located in the <install directory>\SAMPLES\QURYDEMO directory; the Query Demo executable file QURYDEMO.EXE is located in the <install directory>\BIN directory.
File name | Description |
MAIN.CPP | Main window and application source file. Functions in this file process messages sent to the application window, MDI child windows, the status bar, toolbar, connection dialog, and other interface elements. |
NEWQUERY.BMP | Toolbar bitmap to create a new command. Clicking this button performs the same function as choosing New Command from the Command menu. |
QUERY.CPP | Main OLE DB implementation file for Query Demo. Functions in this file initialize OLE, display available providers, display available data sources, facilitate connections to data sources, display lists of active connections and commands, open new commands, set up binding structures, create accessors, execute commands and return rowsets, maintain command window data displays, and free OLE objects. |
QUERYWDW.ICO | Child (command) window icon. |
QURYDEMO.DEF | Module definition file. |
QURYDEMO.H | Application header file. |
QURYDEMO.ICO | Application icon. |
QURYDEMO.MAK | Application NMAKE file. |
QURYDEMO.RC and QURYDEMO.RC2 | Query Demo resource files. |
QURYVER.H | Version include file. |
RESOURCE.H | Resource include file. |
RUNQUERY.BMP | Toolbar bitmap to execute a command. Clicking this button performs the same function as choosing Execute Command Text from the Command menu. |