Re: DLL using

Daniel Diaz <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>
Le 29/08/2013 12:28, Philipp Kraus a
écrit :

Hello,

I would like to use GnuProlog in an own project, which is written in C/C++. Can I use GnuProlog with an interface for my own program?
I have a C++ object, which stores a short dataset, which is often modified, but it is a small set, on each step I must run a Prolog call (expert / planning system)
and Prolog must return a bool information back to my C++ object.
I have got a lot of these objects, but each object stores its own dataset, so I can use a "global" instance of the Prolog interpreter but the Prolog calls must be run
in the "context of the object".

Can I use GnuProlog for this problem?

Hello,

You should have a look at the C foreign interface provided by
gprolog:

http://gprolog.org/manual/html_node/

If you have more specific questions do not hesitate.

Daniel

Thanks a lot

Phil

_______________________________________________
Users-prolog mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/users-prolog

--

Ce message a été vérifié par
MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.

_______________________________________________
Users-prolog mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/users-prolog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.