Welcome to Windows' infamous DLL hell ;)

On 04/27/2012 01:16 PM, Jeremy Nicoll - ml wget users wrote:
> If the DLLs need kept separately then it follows that neither set should be
> in a folder on PATH, and I suppose that neither curl.exe nor wget.exe should
> be either.

I'm not sure that follows - doesn't Windows generally look for DLLs
first in the same directory as the executable that's being run? If so,
then it should be fine to put each in separate folders that are each on
PATH. Many, many Windows applications seem to ship with the DLLs they
want, and keep them in the same dir... but perhaps they also do some
path manipulation before firing, I dunno...

> Is the solution to this problem to put each app in its own
> folder and alway specify the path to the exe when I want to use it?

Otherwise, if I'm wrong, then yeah, this is probably the way to go.
Though perhaps you could write .bat wrappers around each that you place
on PATH.

HTH,
-mjc

Reply via email to