X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=SIJCYN1
	itMw5ImPZxQ4Htp7VBItLI+ijxtwdNxsRQdYk1oYA4ReTTtVIXZNrTx1axvDHThx
	W7J9lRzt01qGTOJx8mEYZ/uHte63z75e5h5a5fhVsbLMyd8mq7E4LHr/5UASgWwm
	PKepIP3Qr8BPZP4G9qdJuY1W82MA3pRSWx4k=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; s=default; bh=ypXkJC3qBIBby
	KB19DXr68oSO04=; b=F+OMiCJO67I/lxGu7oOXTxymtR9zw/kryN7rjjW+Efevv
	1ekqRhDmDN4nYrBHV7ofgql9LC+07NZW61lX/VsY/57fMXlOYgP2spVhcBAL+TsI
	0G8/+/ZPUpFRIAE8woZwCYnbsle1iA9L1Tuf1fMnEMf4GAI3qXGDrFkQGDORMQ=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-oi0-f42.google.com
X-Received: by 10.202.58.85 with SMTP id h82mr4233049oia.69.1444312592323; Thu, 08 Oct 2015 06:56:32 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <22038.29093.221000.863384@woitok.gmail.com>
References: <22038.29093.221000.863384@woitok.gmail.com>
From: Yucong Sun <sunyucong@gmail.com>
Date: Thu, 8 Oct 2015 21:56:02 +0800
Message-ID: <CAJygYd3DLkzj=Va7uuU8-NSjUG6kog0YqBuvhDMMA=0vZwY+=Q@mail.gmail.com>
Subject: Re: Running a program using a DLL under Cygwin
To: cygwin@cygwin.com, Rainer.Woitok@gmail.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

I think symlink is a cygwin thing.  Windows won't find that DLL (just
like you won't find it using windows explorer.)

Windows only support loading DLL from project directory, or  system32
as far as I know.

On Thu, Oct 8, 2015 at 9:37 PM, Dr Rainer Woitok
<rainer.woitok@gmail.com> wrote:
> Greetings,
>
> I'm running  a program which requires a DLL  sitting in my "~/bin/" dir-
> ectory.  Since "~/bin/" is contained  in my "PATH" environment variable,
> everything works  as desired.   Recently I moved  the DLL elsewhere, re-
> placing it with a symbolic link in "~/bin/".  This caused the program to
> fail to locate the DLL.  Moving the DLL back in place caused the program
> to work again.
>
> Is this a Windows problem  (since DLLs are Windows  rather than Unix) or
> Cygwin's?   The link was created with the normal  "ln -s" command.  And,
> if that matters, Cygwin is running on Vista here.
>
> Sincerely,
>   Rainer
>
> PS: Please also reply  to me personally,  as I'm not  subscribed to this
> list.
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

