|
Using Visual Prolog DLLs from Borland DelphiThe directory \Foreign\Examples\Delphi contains examples of how to use a Dynamic Link Library (DLL) created with Visual Prolog in Borland Delphi (see Using Visual Prolog DLLs from other languages for an overview of the examples). All these examples use the same Visual Prolog DLLs that are found in the DLLS directory, so these have to be compiled before any of the examples are compiled and run. These examples should be compiled with Borland Delphi 3.0 or later. Notes for DelphiPlease also read the common notes.
The following table maps Visual Prolog types to Delphi types:
Output arguments corresponds to var arguments of appropriate types,
example:
A Visual Prolog structure corresponds to a record in Delphi, and record arguments are var arguments to appropriate record types. |