Configuring BlueZone

Chapter 5

HLLAPI Configuration

HLLAPI Overview

HLLAPI is an acronym for High Level Language Application Program Interface.  HLLAPI was developed so that external programs can be written to interact with a host session.  This is accomplished by using the BlueZone emulator acting as the “middleware” between the HLLAPI application and the host session.

BlueZone ships with four HLLAPI DLL files:

SEE BlueZone API Support for details.


How to configure BlueZone to work with a HLLAPI application

There are three types of third party HLLAPI applications that are supported by BlueZone:

Configuring BlueZone to work with a third party HLLAPI application is really quite simple.  Your knowledge of, and your ability to change the configuration of your HLLAPI application is really the key to making it work with BlueZone.

Requirements

To configure BlueZone to interact with a third party HLLAPI application, you will need a Windows workstation with the HLLAPI application properly installed and BlueZone Desktop installed as follows:

BlueZone Installation Requirements
  1. Change the following setting from No to Yes, in the SETUP.INI file before installing BlueZone:

[BZSetup]
SetPath=Yes

During installation the BlueZone Setup program will add the BlueZone Program Directory to the Windows “Path Environment Variable” if the workstation OS is Windows NT/2000/XP.

NOTE  This change requires a system re-boot to take effect.

  1. Make sure that you have selected the High Level Language (HLLAPI) Communications component and if you are configuring a DOS HLLAPI application, be sure to also select the BlueZone DOS HLLAPI Tools component.  Otherwise this component is not needed.

Illustration 5-16

NOTE  The DOS HLLAPI Redirector will require a system re-boot to take effect.

HLLAPI Application Requirements

There are a few things you must know and do in order for BlueZone to work properly with your HLLAPI application.  All HLLAPI applications need to know the name and location of your emulator’s HLLAPI DLL.  Specifically, BlueZone's HLLAPI DLL.

  1. Does your HLLAPI application, have a way to change the name and the location (path) of your emulator’s HLLAPI DLL?

No - If not, you will have to re-name the BlueZone HLLAPI DLL and manually copy it to the location where your HLLAPI application is expecting to find it.  Chances are you already have a HLLAPI DLL in this location that is used by your current emulator.  Temporarily rename the DLL so that you do not over write it with the BlueZone DLL.  Proceed to question 2.

Yes - Launch the Configuration Interface of your HLLAPI application and change the name and location of the HLLAPI DLL to point to the BlueZone HLLAPI DLL (WHLLAPI.DLL).  Proceed to question 2.

BlueZone's HLLAPI DLL is called WHLLAPI.DLL and can be found in the main BlueZone installation directory.  The default installation directory for BlueZone is C:\Program Files\SEAGULL\BlueZone.

  1. Is there a HLLAPI.DLL from a competitor's emulator already installed on the same workstation that you are using to test BlueZone's HLLAPI interface?

Yes - If so, you will have to temporarily rename that DLL while testing BlueZone to prevent conflicts, then proceed to question 3.  Or, it might be easier to install and test BlueZone on a workstation that does not have a competitor's emulator installed.  Conflicts with existing emulators is a common problem when tying to configure BlueZone to work with a HLLAPI application.

No – Proceed to question 3.

  1. Is your HLLAPI application a Windows 32-bit application, a Windows 16-bit application, or a DOS application?

Windows 32-bit - Proceed to the Windows 32-bit HLLAPI Application section.

Windows 16-bit - Proceed to the Windows 16-bit HLLAPI Application section.

DOS on Windows 95/98/ME - Proceed to the DOS HLLAPI Application - Windows 95/98/ME section.

DOS on Windows 2000/XP - Proceed to the DOS HLLAPI Application - Windows 2000/XP section.

BlueZone Configuration

After you have BlueZone Desktop installed with the proper components, launch a BlueZone Display session.  Then follow these steps:

Windows 32-bit HLLAPI Application
  1. On the BlueZone MenuBar, select Options:API.  You will be presented with the API Properties dialog.

  2. Check the, Enable DDE Server Interface checkbox.  Click the OK button.  BlueZone is now listening for a DDE connection.

  3. On the BlueZone MenuBar, select Session:Connect, to establish a connection to your host.

  4. Configure your 32-bit HLLAPI application to connect to BlueZone's HLLAPI DLL (WHLLAPI.DLL).  This could involve changing the applications settings so that it is looking for the BlueZone DLL called WHLLAPI.DLL, or you may have to rename the BlueZone DLL to the name that your application is programmed to look for.

  5. Launch your HLLAPI application and execute a command that will send or receive data from your host.

  6. Check to see if your HLLAPI application is interacting with BlueZone.

Windows 16-bit HLLAPI Application
  1. On the BlueZone MenuBar, select Options:API.  You will be presented with the API Properties dialog.

  2. Check the, Enable DDE Server Interface checkbox.  Click the OK button.  BlueZone is now listening for a DDE connection.

  3. On the BlueZone MenuBar, select Session:Connect, to establish a connection to your host.

  4. Configure your 16-bit HLLAPI application to connect to BlueZone's "Thunking" DLL (WHLAPI16.DLL).  This could involve changing the application's settings so that it is looking for the BlueZone DLL called WHLAP16I.DLL, or you may have to rename the BlueZone DLL to the name that your application is programmed to look for.

  5. Launch your 16-bit HLLAPI application and execute a command that will send or receive data from your host.

  6. Check to see if your HLLAPI application is interacting with BlueZone.

DOS HLLAPI Application - Windows 95/98/ME
  1. On the BlueZone MenuBar, select Options:API.  You will be presented with the API Properties dialog.

  2. Check the, Enable DDE Server Interface checkbox.  Click the OK button.  BlueZone is now listening for a DDE connection.

  3. Check the Auto-Launch the BlueZone DOS HLLAPI Redirector checkbox.

  4. On the BlueZone MenuBar, select Session:Connect, to establish a connection to your host.

Make sure the DOS HLLAPI Redirector is running by checking the Windows Taskbar for a small yellow light bulb.  This is the indication that the DOS HLLAPI Redirector is running.

  1. Launch a DOS shell.  Change to the working directory of where your DOS HLLAPI application is located.

  2. At the DOS command prompt, launch the BlueZone VxD application by typing VECT7F.EXE.  You should receive the following message:"DOS Virtual Machine Vector 0x7f Redirector".

  3. Launch your DOS HLLAPI application and execute a command that will send or receive data from your host.

  4. Check to see if your DOS HLLAPI application is interacting with BlueZone.

DOS HLLAPI Application - Windows 2000/XP
  1. On the BlueZone MenuBar, select Options:API.  You will be presented with the API Properties dialog.

  2. Check the, Enable DDE Server Interface checkbox.  Click the OK button.  BlueZone is now listening for a DDE connection.

  3. On the BlueZone MenuBar, select Session:Connect, to establish a connection to your host.

  4. Launch a DOS shell.  Change to the working directory of where your DOS HLLAPI application is located.

  5. At the DOS command prompt, launch the BlueZone VxD application by typing BZHLLINT.EXE.  You should receive the following message:"The DOS HLLAPI interrupt has been successfully intercepted".

  6. Launch your DOS HLLAPI application and execute a command that will send or receive data from your host.

  7. Check to see if your DOS HLLAPI application is interacting with BlueZone.


Related Topics

HLLAPI Options

HLLAPI Troubleshooting

BlueZone API Support