From jan@swi.psy.uva.nl  Mon Jun 14 11:08:06 1999
Received: from gollem.swi.psy.uva.nl (jan@gollem.swi.psy.uva.nl [145.18.114.15])
	by swi.swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id LAA19644
	for <prolog@swi.psy.uva.nl>; Mon, 14 Jun 1999 11:08:06 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.8.8/8.8.8) id LAA32409
	for prolog@swi.psy.uva.nl; Mon, 14 Jun 1999 11:09:35 +0200
From: Jan Wielemaker <jan@swi.psy.uva.nl>
To: prolog@swi.psy.uva.nl
Subject: Re: gdbm GNU library.
Date: Mon, 14 Jun 1999 11:07:37 +0200
X-Mailer: KMail [version 0.7.9]
Content-Type: text/plain
References: <37645F09.AAC8D9C0@correo.dis.ulpgc.es>
MIME-Version: 1.0
Message-Id: <99061411093504.31076@gollem>
Content-Transfer-Encoding: 8bit

On Mon, 14 Jun 1999, Oscar Alejandro Ferrer Bernal wrote:
>I am having problems loading a Win32 DLL on SWI-Prolog 3.2.6:
>
>        The problem is using the gdbm GNU library.
>
>         When I use the gdbm_open (the function to open the database
>file)function, the value returned
>by that is NULL, then, the function cannot open the file.
>        I originally wrote the program in a Unix system where the
>program ran well,
>but rewriting the program to a Win32 system I had these problem.
>
>        The path of the file to be opened is right, could be the memory
>management done by the GDBM.lib?
>
>        I have used Visual C++ 5.0 to compile it and a GDBM library for
>win32

In any case, this doesn't look like a SWI-Prolog problem.  I never used
gdbm, so I can't comment.  To be completely sure, just write a minimal
C-program and work from there is the only advice I can think of.

	--- Jan

