This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

dlopen & dlsym


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]