home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.win32
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!fmsrl7!eccdb1.pms.ford.com!vscarafi
- From: vscarafi@eccdb1.pms.ford.com (Vincent F. Scarafino)
- Subject: Re: DLL questions
- Message-ID: <Bs5wsE.H5@fmsrl7.srl.ford.com>
- Originator: news@pms001
- Sender: usenet@fmsrl7.srl.ford.com (0000-Admin(0000))
- Organization: Ford Motor Co.
- References: <1992Jul28.173235.29091@news.mentorg.com>
- Date: Wed, 29 Jul 1992 18:02:33 GMT
- Lines: 35
-
- pbrooks@mentorg.com (Phil Brooks) writes:
- > I have a couple of questions concerning dll's on Windows/NT:
- >
- > Can one dll call another directly? i.e. if I have a.dll and b.dll
- > and a.dll has a function a_func() which is an imported function in
- > b.dll, can b.dll call a_func() and get the function in a.dll?
- >
- > How are hierarchies of link time dll's initialized (LibMain)? If
- > I have a hierarchy of dll's that are specified at link time:
- >
- >
- > main()
- > / \
- > aa.dll bb.dll
- > / \ \
- > cc.dll \ dd.dll
- > \ /
- > ee.dll
- >
- > In what order are the LibMain functions called for this hierarchy?
- >
- > --
- > Phil Brooks
-
- My understanding of DLLs doesn't have any hierarchy involved. If the
- DLL is specifyed via a full pathname, then that determines the only
- DLL that will be checked for the external reference. If only the
- name of the DLL is used, then DLLs are searched in the order specified
- in the PATH statement until the first one that meets the criteria is
- found. I believe this to be the case, but I haven't extensively tested
- it.
-
- Anyone, please feel free to correct any errors.
-
- Vince
-