Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Frans Rossouw" <fer@ucs.co.za>
To: "Cygwin" <cygwin@cygwin.com>
Subject: dlopen & dlsym
Date: Fri, 16 Mar 2001 15:00:18 +0200
Message-ID: <004601c0ae19$0d16fe40$db011fac@fer.ucs.co.za>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

Hey all

OK, I have a question here (Yes again)

Whether I use
 handle = dlopen (NULL, RTLD_LAZY);
 handle = dlopen ("absolute path", RTLD_LAZY);
 handle = (void *) LoadLibrary ("absolute path");
handle ALWAYS comes back as 0x400000 (as per GDB & log strings)

Can anyone tell me what's going on?

Oh, btw I know in Linux you have to link the project with a -ldl, 
is it needed in cygwin as well?
coz it looks like it runs just peachy without it... 

Thanx guys & gals
Frans Rossouw
(+2711) 712-1404
Icq# 103978846


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

