![]() |
|
Among the code files that BladeSmith generates are the following makefiles and project files:
When you compile a server project, a Project.bld file is created. When you compile a client project, a ProjectX.dll file is created.
This section describes how to compile both a server project and a client project.
For Windows NT server projects, BladeSmith generates a Project.dsw file in the src directory to use with Microsoft Visual C++ 6.0.
To compile a server project, the INFORMIXDIR environment variable must be set to the Informix server installation directory.
Because BladeSmith does not generate tracing routines in the source code, projects are not built with tracing support. If you have added DataBlade API tracing routines to your code, you must add the instruction to compile with tracing support to your makefile or project file. For more information, see Tracing and Error Handling.
Visual C++ creates both a WinNT-i386 and a Debug directory under the src\ActiveX directory to hold the release version and the debug version, respectively, of the dynamic link library.
For Windows 98 and NT client projects, BladeSmith generates a ProjectX.dsp file in the src\ActiveX directory to use with Visual C++ 6.0 or later.
The general process for compiling a client project is:
Visual C++ creates both a WinNT-i386 and a Debug directory under the src\ActiveX directory to hold the release version and the debug version, respectively, of the dynamic link library.