Using BladeSmith to generate the AddInts module and open the project file in Visual C++
About this task
To generate the AddInts module:
Procedure
- Choose .
- With the node at the top of the file tree selected, click Generate .
- After BladeSmith finishes generating code, click MSDev to start Microsoft™ Visual C++ and open the AddInts.dsw workspace file.
Results
BladeSmith generates the following files for your module:
| Files | Description |
|---|---|
| Makefiles | The AddInts.dsw file is the makefile for Windows™ and the AddIntsU.mak file is the makefile for UNIX™. These files are generated in the AddInts\src directory. See the HCL® Informix® DataBlade® Developers Kit User's Guide for instructions on compiling on UNIX™. |
| Source code files | On Windows™, you access these source code files through the AddInts.dsw file. Source code files are generated in the AddInts\src\c directory. |
| Unit test files | These files contain SQL statements to test your module routines during debugging on Windows™. Unit test files are generated in the AddInts\src\tests directory. |
| SQL scripts | These files are saved in the AddInts\scripts directory. |
| Functional test files | These files contain SQL statements to test your module routines on UNIX™ after you finish debugging. Functional test files are generated in the AddInts\functest directory. |
| Installation files | These files are used by BladePack when you package your module. Installation files are generated in the AddInts\install directory. |
For more information about the Generate DataBlade command, see the HCL® Informix® DataBlade® Developers Kit User's Guide.
The BladeSmith portion of this exercise is complete; you can exit BladeSmith.