public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* dll dependencies
@ 2000-03-28 10:37 Craig Stevenson
  0 siblings, 0 replies; only message in thread
From: Craig Stevenson @ 2000-03-28 10:37 UTC (permalink / raw)
  To: cygwin

Hi:

I have some test code I am trying to get to work on
cygwin.  There are two toy dlls, called A and B, and A
uses B.  B does not use anything special.

In the app main uses dlopen() and dlsym() on B without
any problems.  The same procedure on A generates a
problem in that it needs B and cannot seem to load it.
 If I manually load B before A it will execute
correctly with a Warning about failing to load A on
stderr.  If I don't load it first it will fail out
totally with a Win32 error about inability to load a
dll.  

Figuring windows dll's are stupid, I put a dlopen call
to B in A's _dll_init() function.  But this did not
work either.

I am using the straight 20.1 version cygwin.  I have
the latest snapshot and am attempting to compile
*-src-* (which just failed).  Sigh...

Is this known behavior??  What is the straightforward
way to deal with dll dependencies in the context of
manually calling dlopen()??

Thanks.

=====
-- Craig Stevenson
-- Home Page: http://www.sdc.org/~craigs/
-- Recently computed: The 200 billionth digit of pi is 2.

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-03-28 10:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-28 10:37 dll dependencies Craig Stevenson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).