Introduction

LayGO for Delphi 4 provides full access to the LayGO API from 32-bit Delphi applications (Delphi version 4.0 and later). It contains the following components:

LayGO for Delphi 4 Components
Laygo.pas Exports Pascal constant, type and function declarations for the LayGO API.
FrmRelay.pas
Lapb.pas
Lapd.pas
X21bis.pas
X25.pas
Export Pascal constant and function declarations for the protocol layers.
Device.pas Exports Pascal constant, type and function declarations for the LayGO Device Library.
Dtdrv Test program which demonstrates how to call the LayGO API from Delphi 4.

Since Delphi 4 fully supports the cdecl calling convention, no special libraries are required. LayGO for Delphi 4 uses Laygo32a.dll and Laygo32m.dll included in the standard LayGO distribution for Windows.

The Delphi 4 source code and project files are contained in LaygoDp4.zip. To install, simply create a delphi subdirectory in the LayGO installation directory and unzip LaygoDp4.zip into it.