Node:Initializing the Prolog Engine From VB, Next:, Previous:Setting Up the Interface, Up:How to Use the Interface



Initializing the Prolog Engine From VB

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.