From Lesta@t-online.de  Sun Aug 29 00:36:32 1999
Received: from uvapsy.psy.uva.nl (uvapsy.psy.uva.nl [145.18.113.18])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id AAA19205
	for <prolog@swi.psy.uva.nl>; Sun, 29 Aug 1999 00:36:32 +0200 (MET DST)
Received: from mailout09.btx.dtag.de (mailout09.btx.dtag.de [194.25.2.157])
	by uvapsy.psy.uva.nl (8.9.1a/8.9.1) with ESMTP id AAA22694
	for <prolog@swi.psy.uva.nl>; Sun, 29 Aug 1999 00:24:03 +0200 (MET DST)
Received: from fwd15.btx.dtag.de ([194.25.2.175])
	by mailout09.btx.dtag.de with smtp 
	id 11Kr3p-0006Wy-00; Sun, 29 Aug 1999 00:34:57 +0200
Received: from t-online.de (05121269112-0001(btxid)@[193.159.71.3]) 
	by fwd15.btx.dtag.de with smtp
	id <m11Kr3m-0007J2C>; Sun, 29 Aug 1999 00:34:54 +0200
Message-ID: <37C86376.8E8AA3C6@t-online.de>
Date: Sun, 29 Aug 1999 00:32:23 +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: <37C8507A.39DDB5C4@imes.com.br>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Sender: 05121269112-0001@t-online.de
From: Lesta@t-online.de (Uwe Lesta)

Aparecido Valdemir de Freitas schrieb:
> 
> Hello,
> 
> I am trying to generate the DLL example included at directory
> src\win32\foreign. The name of the file that I am testing is DLLTEST.C.
> 
> I am using, Windows 98 and MS-VC++6.0.
> 
> The compile process was OK!
> Compiling...
> dlltest.c
> dlltest.obj - 0 error(s), 0 warning(s)
> 
> But, at the building ocurred the message:
> 
> Linking...
> LINK : fatal error LNK1104: cannot open file "..\..\..\lib\libplD.lib"
> Error executing link.exe.

the D at the end of the file name indicates that the project was
compiled in DEBUG mode.

So you have to change your project configuration to "Release" and 
(
    change the linked librarys in your settings (Alt + F7)
    to "swi_home_dir"\bin\libpl.lib "swi_home_dir"\bin\console.lib ...
OR
    compile the sources in the src directory workspace pl.dsw
).

Donīt forget to set the swi environment variabels

> The file .dsp (MS-VC++ 5.0) was correctly handled by MS-VC++6.0.

yes 

-- 


Regards

Uwe
Lesta@t-online.de

