Hello,
I have a large Prolog program with lots of predicates. I need to connect to this Prolog code from C++ (VS2008) to obtain certain query results.
So I am NOT trying to embed Prolog in C++ as a logical engine, but for my C++ program to connect to my Prolog code and obtain query results.
How can I avoid using the following command at the VS2008 Command Prompt?
plld -o myprog.exe mycpp.cpp mypl.pl
I mean is there any way I can get my VS2008 C++ program to consult my Prolog program without using the plld.exe utility program?
It is sometimes suggested that if one is using VS2008, they might be better off not using plld, by perhaps using a dll instead. Can someone please elaborate on this?
Thanks,
I have a large Prolog program with lots of predicates. I need to connect to this Prolog code from C++ (VS2008) to obtain certain query results.
So I am NOT trying to embed Prolog in C++ as a logical engine, but for my C++ program to connect to my Prolog code and obtain query results.
How can I avoid using the following command at the VS2008 Command Prompt?
plld -o myprog.exe mycpp.cpp mypl.pl
I mean is there any way I can get my VS2008 C++ program to consult my Prolog program without using the plld.exe utility program?
It is sometimes suggested that if one is using VS2008, they might be better off not using plld, by perhaps using a dll instead. Can someone please elaborate on this?
Thanks,