From jan@swi.psy.uva.nl Fri Apr 27 10:06:41 2001
Received: from gollem.swi.psy.uva.nl (root@gollem [145.18.152.30])
	by swi.psy.uva.nl (8.11.2/8.11.2) with ESMTP id f3R86e301942;
	Fri, 27 Apr 2001 10:06:40 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) id f3R86eb12998;
	Fri, 27 Apr 2001 10:06:40 +0200
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Organization: SWI, University of Amsterdam
To: Kourakos-Mavromichalis Evagelos <emav@aegean.gr>,
   "'prolog@swi.psy.uva.nl'" <prolog@swi.psy.uva.nl>
Subject: Re: [SWIPL] Help!
Date: Fri, 27 Apr 2001 10:04:49 +0200
X-Mailer: KMail [version 1.0.29.2]
Content-Type: text/plain
References: <81FBBA8C21B9D311A6E500508B6144AA02B190@eupalinos.aegean.gr>
In-Reply-To: <81FBBA8C21B9D311A6E500508B6144AA02B190@eupalinos.aegean.gr>
MIME-Version: 1.0
Message-Id: <01042710064000.12339@gollem>
Content-Transfer-Encoding: 8bit

On Fri, 27 Apr 2001, Kourakos-Mavromichalis Evagelos wrote:
>Hello,
>
>how can I convert a prolog file (e.g. test.pl) to a .dll file in order to
>embed it to an executable C++ file?
>
>Can I use the plld or qsave_program in order to make a .dll?
>
>Thank you,
>Vangelis Mavromichalis
>PhD Student

You can't.  The trick you're looking for is called `embedding Prolog'
in most of the prolog documentation.  You find info in the reference
manual as well as on the Twiki web at

http://gollem.swi.psy.uva.nl/twiki/pl/bin/view/Foreign/WebHome

The archive of this mailing list might also answer some remaining
questions.

	Cheers --- Jan

