Node:Initializing the Prolog Engine From VB, Next:Deinitializing the Prolog Engine From VB, Previous:Setting Up the Interface, Up:How to Use the Interface
The Visual Basic interface must be explicitly initialized: you must call
PrologInit()
before calling any other interface function. The
PrologInit()
function loads and initializes the interface. It
returns 1 if the initialization was successful, and -1 otherwise.