This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
dlopen & dlsym
- To: "Cygwin" <cygwin at cygwin dot com>
- Subject: dlopen & dlsym
- From: "Frans Rossouw" <fer at ucs dot co dot za>
- Date: Fri, 16 Mar 2001 15:00:18 +0200
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