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 ONEDB_HOME environment variable must be set to the HCL OneDB™ 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

  1. If necessary, open your project.dsw file in the src directory in Visual C++.
  2. Choose Build > Set Active Configuration.
  3. 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.
  4. Click OK.
  5. Choose Build > Rebuild All 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.