LSAPI Introduction
Libraries
The
Logic Server API is available for Windows programmers in two forms. Each
has an associated LIB that can be used for linking.
- AMZI4.DLL - The standard 32-bit dynamic Windows library for use with
most Windows applications.
- AMZI4C.DLL - The 32-bit dynamic Windows console library. This version
of the DLL is built with STDIN and STDOUT defined for the console. It is
designed for use with console host language applications that want to call
Prolog code that includes read/1 and write/1 calls.
The Logic Server API is available for Unix programmers in one or two
forms, depending upon the platform:
- LIBAMZI4.SO - The dynamic library
- LIBAMZI4.A - The static library
Getting Started
As Kernighan and Ritchie pointed out in their classic
book on C programming, the hardest part is compiling, linking and running
your first simple application. In the case of the Logic Server, the problem
is doubled, as you must get both a host language piece and Prolog piece
built and talking to each other.
Each of the reference sections has an introductory 'Hello' program that
shows you how to get started.
Reference Sections
- C
Interface - The C interface is the basic API of exported functions.
It can be used from any development tool that can access a DLL, and is
the foundation for the other Logic Server interfaces.
- C++ Class - Documents the C++ class for the
LSAPI.
- Delphi Component - Documents the Delphi
component version of the LSAPI.
- Java Class - Documents the Java class for
the LSAPI.
- Visual Basic Module- Documents the Visual Basic
version of the LSAPI.
- MS-Office Interface - Documents the text
declarations that make the LSAPI accessible from MS-Access and similar
tools.
- CGI Interface - Documents the CGI Web
server interface for the LSAPI.
Copyright ©1987-1997 Amzi! inc. All Rights Reserved.