Table Copy Files
The following source files are included with the Table Copy sample.
File Name |
Description |
---|---|
Catalog.ico |
Catalog icon. |
Column.ico |
Column icon. |
Columnlong.ico |
BLOB Column icon. |
Columnread.ico |
ReadOnly Column icon. |
Common.cpp |
Contains common routines for handling strings, converting to MBCS or WCHAR, quoting identifiers, and processing different data types. It also contains the static string messages. |
Common.h |
Application header file. |
Datasource.cpp |
Connects to the data source. Includes functions for instantiating, setting properties, and initializing the OLE DB provider. |
Datasource.h |
Application header file. |
Error.cpp |
Common error handling routines for the application. |
Error.h |
Application header file. |
Index.ico |
Index icon. |
List.h |
Application header file. |
Primarykey.ico |
Primary Key icon. |
Progress.cpp |
Handles display of the Table Copy Progress dialog box. |
Progress.h |
Application header file. |
Property.cpp |
Retrieves properties from the provider. Includes functions for freeing properties and VARIANT elements of property structures. |
Property.h |
Application header file. |
Resource.h |
Resource include file. |
Schema.ico |
Schema icon. |
Spy.cpp |
Contains routines for keeping track of memory allocation and release. |
Spy.h |
Application header file. |
Step1.cpp |
Handles the dialog boxes, buttons, and lists in the first step of the Table Copy sample. Functions in this file call IDBInitialize::Initialize to connect to the provider, call schema functions to retrieve rowsets containing table column metadata information, and process the schema rowsets through IRowset. |
Step2.cpp |
Handles the dialog boxes, buttons, and lists in the second step of the Table Copy sample. Functions in this file retrieve the INDEXES schema rowset and process the results, displaying them to the user. |
Step3.cpp |
Handles the dialog boxes, buttons, and lists in the third step of the Table Copy sample. Functions in this file connect to the target data source and get the name for the new table from the user. |
Step4.cpp |
Handles the dialog boxes, buttons, and lists in the fourth step of the Table Copy sample. Functions in this file present options for the user to control how the new table is created. |
Synonym.ico |
Synonym icon. |
Systable.ico |
System Table icon. |
Table.cpp |
Main file for copying the table. Includes functions for calling IDBLiteral::GetLiteralInfo to retrieve literal quote characters, creating and executing the SELECT statements, retrieving and mapping data type information, and executing the CREATE TABLE and INSERT TABLE statements. |
Table.h |
Application header file. |
Table.ico |
Table icon. |
Table_Co.ico |
Icon for the Table Copy sample. |
TableCopy.cpp |
Provides the main entry point for the Table Copy sample. |
TableCopy.dsp |
Project file. |
TableCopy.h |
Application header file. |
TableCopy.dsp |
Table Copy project file. |
TableCopy.rc |
Table Copy sample resource files. |
TableCopy.rc2 |
Version file for Table Copy sample. |
Type.ico |
Type icon. |
Version.h |
Version file for Table Copy sample. |
View.ico |
View icon. |
Winmain.cpp |
Main window and application source file. Functions in this file provide support for the windows displayed in the various steps of the Table Copy wizard. |
Winmain.h |
Application header file. |
Wizard.cpp |
Contains common routines for supporting the buttons for moving between the various steps of the wizard. |
Wizard.h |
Application header file. |