dlopen & dlsym

Frans Rossouw fer@ucs.co.za
Fri Mar 16 04:59:00 GMT 2001


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



More information about the Cygwin mailing list