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\bin\vbsp.dll
)
vbsp.po
(installed as SICStus\bin\vbsp.po
)
vbsp.bas
(installed as SICStus\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.9.1\bin
in the PATH
environment
variable. On Windows 2000 and later, PATH
is set in the
control panel System
. On 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 Target Machines. In this case,
vbsp.dll
and vbsp.po
should be located at the same place
as the SICStus run-time (sprt39.dll
).
If VB cannot find the SICStus run-time files, it will report something
similar to
File not found: VBSP