Installing and registering the Point module

About this task

Because the Circle module depends on the interface from the Point module, you must register the Point module first.

When you distribute a module that depends on another, the user installing it must use BladeManager to register it. BladeManager prompts the user to register the module that provides the interface first. For example, BladeManager does not let a user register the Circle module unless the Point module was already registered in that database.

To install and register the Point module:

Procedure

  1. Open the Point project in Visual C++.
    The Point.dsw file is in the Point\src directory.
  2. Open the Distance.sql file.
  3. With the Distance.sql file as the active window in Visual C++, click the Debug Module button on the add-in toolbar.
  4. In the Executable For Debug Session dialog box, type or use the Browse button to select %INFORMIXDIR%\bin\oninit.exe, where %INFORMIXDIR% is the environment variable that represents the root directory of your HCL Informix® server installation.
  5. Click OK.
  6. When the dialog box appears warning that oninit.exe does not have debugging information, click OK.

Results

IfxQuery displays the results of your SQL statements in an HTML file.