This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Strange LoadLibrary() behaviour
- To: gnu-win32 at cygnus dot com
- Subject: Strange LoadLibrary() behaviour
- From: Ralf dot Gerlich at t-online dot de (Ralf Gerlich)
- Date: Sat, 22 Aug 1998 14:15:39 +0200
- Organization: BSSE
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".