From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1125fa,9f5c1c8d844fc69e X-Google-Attributes: gid1125fa,public X-Google-Thread: 1025b4,9f5c1c8d844fc69e X-Google-Attributes: gid1025b4,public X-Google-Thread: fcfb9,9f5c1c8d844fc69e X-Google-Attributes: gidfcfb9,public X-Google-Thread: 111c93,9f5c1c8d844fc69e X-Google-Attributes: gid111c93,public X-Google-Thread: 10d0a1,9f5c1c8d844fc69e X-Google-Attributes: gid10d0a1,public From: Craig Kelley Subject: Re: DLL mess Re: "No-one gets fired for buying Microsoft" Date: 1999/09/24 Message-ID: #1/1 X-Deja-AN: 529136895 References: <37D81FE1.E90C3B1F@winkinc.com> <37ddff0d.347678675@news.shore.net> <37e21eba.355787635@news.shore.net> <37e3383f.362320439@news.shore.net> <37E69470.F3A4F528@internet.de> <37ea25ab.735986702@news.shore.net> <37EB3947.609D4685@internet.de> <37EB3B8B.DE1B6AEE@internet.de> Content-Type: text/plain; charset=us-ascii X-Trace: skin01.micron.net 938195336 134.50.8.55 (Fri, 24 Sep 1999 11:48:56 MDT) Organization: Idaho State University User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) XEmacs/20.4 (Emerald) MIME-Version: 1.0 NNTP-Posting-Date: Fri, 24 Sep 1999 11:48:56 MDT Newsgroups: comp.os.linux.alpha,comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,gnu.misc.discuss Volker Dittmar writes: > Sorry to reply to myself, but it seems that I wasn't THAT wrong. Seems > that LoadLibrary() does not use the path of the DLL, just the NAME of > the DLL, but I'll have to investigate further. > > Does anyone know under which circumstances Windows loads BOTH > DLL's? And does it behave differently with Windows NT or 9x? As far as I know: The current directory (ie, "Start In...") is searched *first*, and so any custom DLLs there will be loaded before searching the rest of the path. Multiple DLLs can be loaded if some program has a custom version in it's path and some other program is using a different (be it system or otherwise). It still isn't a solution to the problem, though, because a DLL in a custom path isn't shared anymore... -- The wheel is turning but the hamster is dead. Craig Kelley -- kellcrai@isu.edu http://www.isu.edu/~kellcrai finger ink@inconnu.isu.edu for PGP block