This is the mail archive of the cygwin@sourceware.cygnus.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]

Strange LoadLibrary() behaviour


Hi there,

I am using b19 under Win95 and I am trying to make shared libraries and
load them
using LoadLibrary(). But LoadLibrary() shows a strange behaviour: It
returns a
NULL-handle and GetLastError() is zero(no error). I tried this using the
relocatable-dll example from John Cerney and the behaviour was the same.
I found some article about this in the mailing list archives, but the
hints there didn't help and in this article it was concerning b18.
Non-relocatable DLLs work properly, but relocatable ones only do so
sometimes. I haven't figured out yet what's the cause for them to work
in these spare occasions. Is it OK that there are unresolved symbols in
the DLL? I found .reloc,end and __end__ to be unresolved when I looked
at it using nm.

Hope anyone can help,

Ciao,
Ralf
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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