Mail Archives: cygwin/1999/02/28/15:55:18
Greetings:
a test case:
#include <dlfcn.h>
#include <stdlib.h>
int main()
{
void *h1, *h2;
h1=dlopen("console.dll", RTLD_LAZY);
h2=dlopen("uart.dll", RTLD_LAZY);
dlclose(h2);
dlclose(h1);
return(0);
}
when run, emits a warning message:
WARNING: previous dlopen of U:\tmp\uart.dll wasn't correctly performed
This message is coming from
winsup/dll_init.cc::DllList::currentDlOpenedLib function. Not
being too
familiar with the sources, I am guessing that this function is necessary
for
properly loading a DLL which has other DLLs in its dependency list.
However,
invoking it from dlopen() function call may not be a proper solution.
Hope that
somebody can provide a solution for this problem by the next release.
-- stanley
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
- Raw text -