dlopen returning crap

Frans Rossouw fer@ucs.co.za
Mon Mar 19 05:57:00 GMT 2001


Hey all

Another question on dlopen

When I use any of these
handle = dlopen (NULL, RTLD_LAZY);
handle = dlopen ("absolute path", RTLD_LAZY);
handle = (void *) GetModuleHandle (NULL);
handle = (void *) GetModuleHandle (0);
handle = (void *) LoadLibrary ("absolute path");

and I do a 
printf("handle = %x",handle);
directly after that I ALWAYS get
handle = 400000

can anyone tell me why?

Thanx
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