API Properties dialog

The API Properties dialog is used to configure BlueZone to work with external programs. To launch the API Properties dialog, go to the BlueZone menu bar, and click Options API.

Typical applications that use the BlueZone API interface use a HLLAPI interface to communicate with BlueZone. In order for BlueZone to communicate with a HLLAPI application through the BlueZone DDE Interface, you must enable the BlueZone DDE Interface. Refer to Configuring BlueZone to work with an existing HLLAPI application for more information.

Options tab

The API (Application Program Interface) Properties, Options tab allows the configuration of DDE and HLLAPI items.

Dynamic Data Exchange (DDE)
The Dynamic Data Exchange Group is used to configure DDE operating parameters:
  • Enable DDE Interface: Enable to allow the BlueZone session to function as a DDE Server. DDE client applications can communicate with DDE servers to exchange data. This option must be enabled in order for BlueZone to communicate with HLLAPI client applications.
    • Server / Service Name: Displays the Server / Service Name as “BlueZone”.
    • Topic Name: Displays the session’s DDE Topic Name. The Topic Name can be changed by configuring the HLLAPI Short Name Session Identifier.
  • Enable Network DDE Initialization: If checked, BlueZone modifies registry settings and invoke NETDDE.EXE to enable DDE client applications to communicate with BlueZone over a Local Area Network (LAN).
    Note: Only use this option when the HLLAPI application is on a computer separate from the computer that BlueZone is running on.
    • DDE Share: Displays the DDE Share Name that NETDDE uses to establish a DDE connection over the Local Area Network (LAN).
High Level Language API (HLLAPI)
The High Level Language API group is used to configure HLLAPI operating parameters:
  • Short Name Session Identifier: Used to set the HLLAPI identifier for the BlueZone session. The HLLAPI Short Name Session Identifier is also used as the DDE Topic Name.
  • Session Long Name: Used to set the HLLAPI description name for the BlueZone session.
  • Auto Assign HLLAPI Names ('A' for S1, 'B' for S2, etc.): If enabled, BlueZone automatically associates the Short Name Identifier to a session number 'A' for S1, 'B' for S2 and so on.
  • Auto-Launch the BlueZone DOS HLLAPI Redirector: If enabled, BlueZone runs/closes the BlueZone DOS HLLAPI Redirector program each time the BlueZone DDE Server initializes/de-initializes.
  • Allow Multiple Simultaneous Connections: If enabled, the BlueZone HLLAPI allows connection requests from a single application tread to the same BlueZone session as long as it is using the same HLLAPI Short Name Session Identifier. If disabled (default), the session only allows multiple simultaneous connections to its presentation space if the first HLLAPI application connecting had specified WRITE_WRITE when calling HLLAPI SetSessionParameters.

Trace tab

The API Properties Trace tab allows the user to trace problems encountered while using the DDE and HLLAPI interfaces.

Trace Options
The Trace Options group is used to create API trace files:
  • Trace DDE Interface: Enable to trace DDE conversation transactions.
  • Trace HLLAPI Interface: Enable to trace HLLAPI function calls and return values.
  • Trace File: Used to specify a trace file name for API tracing.
    • Browse: Displays a dialog used to select the directory and file name. BlueZone provides a Traces directory in the BlueZone installation directory.
    CAUTION:
    This must be a valid path or the trace feature will not work.
  • Presentation: Select this option if you want to trace the presentation space.
  • ETEM: Select this option if you want to trace the ETEM space.
  • Transport: Select this option if you want to trace the transport data.
  • Auto-Start Trace: Select this option to automatically start a trace when you connect to the host. After selecting this option, you must save and restart the profile to start the trace. For each trace, presentation, ETEM and transport trace files are saved in the \Traces folder in the working directory, and use the following formats:
    • presentationhhmmss.txt

    • etemhhmmss.txt

    • transporthhmmss.txt

    Where hhmmss is the hour, minute, and second when the trace began.
  • Start Trace: Used to start the API trace.
  • Stop Trace: Used to stop the API trace.