From jan@swi.psy.uva.nl Mon Feb 12 05:51 PST 1996
Return-Path: <jan@swi.psy.uva.nl>
Received: by silicon.csci.csusb.edu (5.0/SMI-SVR4)
	id AA27478; Mon, 12 Feb 1996 05:51:42 +0800
Received: by swi.swi.psy.uva.nl id AA00408
  (5.65c/IDA-1.4.4/SWI-1.1m for dick@csci.csusb.edu); Mon, 12 Feb 1996 13:38:24 +0100
Received: from swisun31.swi.psy.uva.nl by swi.swi.psy.uva.nl with SMTP id AA00397   (5.65c/IDA-1.4.4/SWI-1.1m for <prolog>); Mon, 12 Feb 1996 13:38:06 +0100
Received: by swisun31.swi.psy.uva.nl id AA26140   (5.65c/IDA-1.4.4/SWI-1.0c); Mon, 12 Feb 1996 13:38:05 +0100
X-Organisation: Social Science Informatics, University of Amsterdam
X-Address:      Roetersstraat 15, 1018 WB  Amsterdam, The Netherlands.
X-Phone:        +31 20 5256789
X-Fax:          +31 20 5256896
Date: Mon, 12 Feb 1996 13:38:05 +0100
Message-Id: <199602121238.AA26140@swisun31.swi.psy.uva.nl>
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Subject: Re: c++ interface under MS-Windows and SunOS 
To: xpce@swi.psy.uva.nl, jan@swi.psy.uva.nl
Phone: +31 - 20 - 525 6786
Cc: prolog@swi.psy.uva.nl
Content-Type: text
Content-Length: 786
Status: RO

Erol,

>  Exists a C-interface dokumentation for SWI-Prolog 1.9.5 ?

This question should be on the prolog@swi.psy.uva.nl mailing list.
Anyway, SWI-Prolog 1.9.5 has *no* foreign interface on the Window 3.1
platform.  Only the 2.x.y versions for win32 provide an interface for
loading Win32 DLL files.

The Unix implemention of the C-interface is much older.  The conventions
for writing foreign code has been stable upto version 2.1.14. The
mechanisms for loading such code has been changed as operating systems
evolved.

The interface conventions have been changed radically (though there is a
backward compatibility package that deals with most old code) in version
2.5.0. Basically, anyone considering using the foreign interface should
be using SWI-Prolog 2.5.x.

	Regards --- Jan


