Generating Code
 
 To generate a DataBlade module in BladeSmith and open the project file in Visual C++   
 
1.	 Choose Generate DataBlade. The Generate DataBlade dialog box appears.
 DataBlade. The Generate DataBlade dialog box appears. 
 
2.	 With the DataBlade node at the top of the file tree selected, click Generate DataBlade.   
 
3.	 After BladeSmith has finished generating code, click MSDev to start Microsoft Visual C++ and open the Project.dsw workspace file. 
 
BladeSmith generates the following files for your DataBlade module: 
 
- Makefiles. The Project.dsw file is the Visual C++ 6.0 workspace file for Windows NT and the ProjectU.mak file is the makefile for UNIX. These files are generated in the project\src directory. See the DataBlade Developers Kit User's Guide for instructions on compiling on UNIX.
 
- Source code files. On Windows NT, you access these through the Project.dsw file. Source code files are generated in the project\src\c directory. 
 
- Unit test files. These files contain SQL statements to test your DataBlade module routines during debugging on Windows NT. Unit test files are generated in the project\src\tests directory.
 
- 	 
SQL Scripts. These files are saved in the project\scripts directory.   
 
- Functional test files. These files contain SQL statements to test your DataBlade module routines on UNIX after you finish debugging. Functional test files are generated in the project\functest directory.
 
- Installation files. These files are used by BladePack when you package your DataBlade module. Installation files are generated in the project\install directory.
 
For more information about the Generate DataBlade command, see the DataBlade Developers Kit User's Guide.