From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d0a1,9f5c1c8d844fc69e X-Google-Attributes: gid10d0a1,public X-Google-Thread: 1025b4,9f5c1c8d844fc69e X-Google-Attributes: gid1025b4,public X-Google-Thread: 111c93,9f5c1c8d844fc69e X-Google-Attributes: gid111c93,public X-Google-Thread: 1125fa,9f5c1c8d844fc69e X-Google-Attributes: gid1125fa,public X-Google-Thread: fcfb9,9f5c1c8d844fc69e X-Google-Attributes: gidfcfb9,public From: sean@forget.about.it (Se�n � Donnchadha) Subject: Re: DLL mess Re: "No-one gets fired for buying Microsoft" Date: 1999/09/20 Message-ID: <37e730f3.476730462@news.shore.net>#1/1 X-Deja-AN: 527420298 Content-Transfer-Encoding: 7bit References: <37D81FE1.E90C3B1F@winkinc.com> <7rhnid$g6e$1@Mercury.mcs.net> <7s3cvv$1sm8$1@Mars.mcs.net> <7s3uf2$u0$1@bgtnsc01.worldnet.att.net> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@shore.net X-Trace: news.shore.net 937832487 207.244.116.3 (Mon, 20 Sep 1999 09:01:27 EDT) Organization: Shore.Net/Eco Software, Inc; (info@shore.net) MIME-Version: 1.0 NNTP-Posting-Date: Mon, 20 Sep 1999 09:01:27 EDT Newsgroups: comp.os.linux.alpha,comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,gnu.misc.discuss "Daniel Johnson" wrote: >> >> The point is, you *can't* resolve the conflict if another app needs >> a different DLL of the same name, whether they are different versions >> of the same thing or two different things entirely. Once one of >> them is loaded, you can't load a different one from a different >> location without rebooting to get rid of the other one. > >To quibble: > >You actually *can* if you try hard enough, but nobody does. To do it, >you need to specify a full or partial path, not just a filename, when you >load the library. If you specify just the filename, the first thing Windows >does is check for loaded libraries having same name. > >The normal load-time linking procedure does it by filename (not path), so >90% of the time you are going to get the already loaded library. > Totally false. Check the Win32 API docs for LoadLibrary().