From marotta@cli.di.unipi.it  Wed Dec  1 08:26:30 1999
Received: from mailserver.cli.di.unipi.it (IDENT:root@crudelia.cli.di.unipi.it [131.114.11.37])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id IAA25167
	for <prolog@swi.psy.uva.nl>; Wed, 1 Dec 1999 08:26:29 +0100 (MET)
Organization:  Centro di Calcolo - Dipartimento di Informatica di Pisa - Italy
Received: from fire.cli.di.unipi.it (fire-ext.cli.di.unipi.it [131.114.11.52])
	by mailserver.cli.di.unipi.it (8.9.3/8.9.3) with SMTP id IAA01121
	for <prolog@swi.psy.uva.nl>; Wed, 1 Dec 1999 08:23:46 +0100
Received: (qmail 25683 invoked by uid 7794); 1 Dec 1999 07:26:14 -0000
Received: from slip1.cli.di.unipi.it(131.114.11.132), claiming to be "hall9000"
 via SMTP by crudelia.cli.di.unipi.it, id smtpda25624; Wed Dec  1 08:23:28 1999
Message-Id: <3.0.1.32.19991201082114.00919bf0@mailserver.cli.di.unipi.it>
X-Sender: marotta@mailserver.cli.di.unipi.it
X-Mailer: Windows Eudora Light Version 3.0.1 (32)
Date: Wed, 01 Dec 1999 08:21:14 +0100
To: prolog@swi.psy.uva.nl
From: Paolo Marotta <marotta@cli.di.unipi.it>
Subject: Trouble using plld.exe
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

Hi all,
I can't use plld.exe so I'd like to link on my own
swi-prolog code and c++ code.
How can I do it?

I think I should

a) compile my c++ code and link it with libpl.lib
b) compile my swi-prolog code
c) link c++ code and swi-prolog code and kernel

a) this step is easy...

b) I think I should use qsave_program/2, but I don't
   know what options to use

c) How can I do this step?

Please help me!

Thanks,
Paolo


-----------------------------------------------
  Paolo Marotta
  Computer Science, University of Pisa
  home:   http://www.cli.di.unipi.it/~marotta
-----------------------------------------------

