Discussions related to Visual Prolog
Rangarajan
Posts: 12
Joined: 1 Jun 2007 14:51

Parameter Passing between Prolog DLL and C Function

Unread post by Rangarajan »

Hi,
I would like to understand how to pass non-primitive data types between Prolog DLL and an external C program. For example, how to pass a list of symbols, or compound structures from the DLL to an external C function (and vice versa)? Is there a way to directly make use of Prolog Foundation Classes in the C environment (through VIP header and LIB files)?

Thanks for your help.

Regards,
Rangarajan
User avatar
Thomas Linder Puls
VIP Member
Posts: 1232
Joined: 28 Feb 2000 0:01

Re: Parameter Passing between Prolog DLL and C Function

Unread post by Thomas Linder Puls »

I suggest you read Foreign Language Code.

The answer to your second question is: no.
Regards Thomas Linder Puls
PDC
Post Reply