Node:Visual Basic Notes, Next:Berkeley DB Notes, Previous:Jasper Notes, Up:Top
The Visual Basic - SICStus Prolog interface consists of the following files:
vbsp.dll
(installed as SICStus Prolog 3.12.5\bin\vbsp.dll
)
vbsp.bas
(installed as SICStus Prolog 3.12.5\library\vbsp.bas
)
In order to use the interface, perform the following steps:
vbsp.bas
in your
Visual Basic project.
C:\Program Files\SICStus Prolog 3.12.5\bin
in the PATH
environment
variable (see Windows). Under Windows 2000 and later, PATH
is set in the
control panel System
. Under Windows 9x/ME, this is set in
autoexec.bat
. Consult your OS documentation for details.
Note that when running your Visual Basic project in the Visual Basic debugger, the directory of the current application is the directory that contains the Visual Basic debugger and not the directory that contains your Visual Basic project.
In a target system, you need to make the SICStus runtime DLL etc.
available; see Runtime Systems on Windows Target Machines. In this case, vbsp.dll
should be located at the same place
as the SICStus run-time (sprt312.dll
).
If VB cannot find the SICStus run-time files, it will report something
similar to
File not found: VBSP
Please note: Never move or copy SICStus-related files to the Windows system folder.