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 returning crap


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


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