Compiling a Windows™ server project
About this task
For Windows™ 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 HCL 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.
To compile a Windows™ server project:
Procedure
- If necessary, open your project.dsw file in the src directory in Visual C++.
- Choose .
- Select a version of the project in the Set Active
Project Configuration dialog box:
- Release. This version is suitable for release and does not contain debugging support.
- Debug. This version contains support for debugging.
- Click OK.
- Choose to compile.
Results
Visual C++ creates a WinNT-i386 directory to hold the release version and a Debug directory to hold the debug version under the src\ActiveX of the dynamic link library.