Home | Previous Page | Next Page   Creating ActiveX Value Objects > Compiling Client and Server Projects >

Compiling a Client Project

For Windows 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:

  1. Set the include and library file directories in Microsoft Developer Studio.
  2. Compile the ProjectX.dsp file.
To set the include files and library file directories
  1. In Microsoft Developer Studio Visual C++, choose Tools > Options.
  2. Click the Directories tab in the Options dialog box.
  3. Select Include files from the Show directories for list box.
  4. If the following directories are not on the list, add them:
    • \informix\incl\c++
    • \informix\incl\dmi
    • \informix\incl\esql
  5. Select Library files in the Show directories for list box.
  6. If the following directories are not on the list, add them:
    • \informix\lib
    • \informix\lib\c++
    • \informix\lib\dmi
  7. Click OK to exit the Options dialog box.
To compile a Windows client project
  1. In Microsoft Developer Studio Visual C++, choose File > Open and open ProjectX.dsp.
  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.

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.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]