How do I incorporate a DLL written in C into my Visual Prolog project?
You have two possibilities:
- Static Linking. In this case you need to find a .LIB, which corresponds
to this .DLL. (Ask the implementor of the .DLL). You can then just include the .LIB file
into your project, declare the routines in the .DLL as global predicates and call these as
if they were other Prolog predicates.
- Dynamic Linking. This way is a little more complex.
Read the description of the
Go into the VIP help file and read about: LONG /*DllHandle =*/ vpi_LoadDll(STRING
FileName)
|