From Lesta@t-online.de  Fri Aug 27 15:52:43 1999
Received: from mailout10.btx.dtag.de (mailout10.btx.dtag.de [194.25.2.158])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id PAA06448
	for <prolog@swi.psy.uva.nl>; Fri, 27 Aug 1999 15:52:41 +0200 (MET DST)
Received: from fwd03.btx.dtag.de ([194.25.2.163])
	by mailout10.btx.dtag.de with smtp 
	id 11KMQ9-00049m-00; Fri, 27 Aug 1999 15:51:57 +0200
Received: from t-online.de (05121269112-0001(btxid)@[193.159.71.8]) 
	by fwd03.btx.dtag.de with smtp
	id <m11KMPs-0003c6C>; Fri, 27 Aug 1999 15:51:40 +0200
Message-ID: <37C6975B.55B62988@t-online.de>
Date: Fri, 27 Aug 1999 15:49:15 +0200
X-Mailer: Mozilla 4.05 [de]C-DT  (Win95; I)
MIME-Version: 1.0
To: afreitas@imes.com.br
CC: "prolog@swi.psy.uva.nl" <prolog@swi.psy.uva.nl>
Subject: Re: DLL - Interface
References: <37C6857D.1A8ACCA1@imes.com.br>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Sender: 05121269112-0001@t-online.de
From: Lesta@t-online.de (Uwe Lesta)

Aparecido Valdemir de Freitas schrieb:
 
<snip>

> So, I need to call this DLL (wrote in C) from my SWI-Prolog.

I assume that you are working on a windows95/98 platform.

If you use the Microsoft VC++ 5.0 or 6.0 compiler you find a working 
example of ddl calls in the source distribution of swi-prolog 3.2.9
available at the swi download page. Open the workspace plregtry.dsw in
the
directory src\win32\t_foreign and compile the project dlltest.
look at the readme file in this dir.

If you use an other compiler look into the directory dlldemo from
the binary distribution.



Regards

Uwe
Lesta@t-online.de

