Using VPI Visual Prolog DLL from Borland Delphi language

Example uses Borland Delphi 3.0 or later to bind with Visual Prolog DLLs:

(..\..\DLLS\EXE\DLL1.DLL)

(..\..\DLLS\EXE\DLL2.DLL)

You should copy these files to this directory before run the example.

You can do it with help COPYDLL.BAT file.

Project DLPH_VPI.DPR should be loaded by Borland Delphi 3.0.

DLL1 creates custom control in dialog with Denmark map.

DLL2 shows work with callback and retrieving string value.

Note: DLL1.DLL uses file DENMARK.DBA. You should run application from this directory or copy DENMARK.DBA to working directory.

See also Using Visual Prolog DLL’s from other languages.