![]() |
|
When you create new objects, BladeSmith generates the source files; some filenames are prefixed with the name of the DataBlade module (indicated by project). By default, BladeSmith creates the source files in the src and src\c subdirectories of the directory that contains the BladeSmith project file. Generated source files are listed in the following table.
Some of these files are described in the following subsections.
The project.h header file for the DataBlade module contains:
The support.c source code file for the DataBlade module project contains:
The udr.c source code file for the DataBlade module project contains function declarations for user-defined C routines, cast support routines, and aggregates in the BladeSmith project.
Each opaque data type has a source code file, Opaque.c, where Opaque is the name of the opaque data type. The Opaque.c source code files contain function definitions for opaque type support routines specified in the DataBlade module project.
The statistics.c source code file for the DataBlade module project contains user-defined statistics support routines for each opaque data type with statistics support.
The project.dsp file is the Visual C++ project file that contains the project information for both C and C++/ActiveX code: for example, a list of the source code files. For more information about C++/ActiveX code, see Chapter 6, Creating ActiveX Value Objects.
The project.dsw file is the Visual C++ workspace file that contains workspace information and refers to the project file for project information. You open the project.dsw file to edit and compile your source code.
For more information on compiling using the project.dsw file, see Compiling on Windows NT.
The warning.txt file includes the following types of warnings about your source code:
The warning.txt file might contain other warnings, as appropriate for your source code.