X-Recipient: archive-cygwin AT delorie DOT 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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=Od+DmYeneKU1saA9 7CvZVrdJdZJyXCxQpcX7zrt0C5I49zrs14Xfe7/CyIAE3S7YDdhVxTMfDIrYvN7Q piocL5n5cnS3m9XtYoo0rGBA8KWeM7EsdFdoxxufqCpzVCus6RWRDK4WCO3K6uqk hwh2titsFjKPGEHqTheK8fr4aCM= 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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=G7pQblbIWffTN9sAQNFi+h xVLYw=; b=XHifM9RlqONThknGqp1A2iqEq5tCH/8rgvK8AOdwAsVT7FreKab8HM LeaDt8pbHIOHHOK7pqmexRKvp8cdL3pPaGI23Mmbf1utwHrlD4uv4v1G1fd4TQ3q M4wR1WJBtqi2oWZdLvIxiMmwXLbOcVh3XYzaye99feWSIpcHDV7i8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp.ht-systems.ru Date: Thu, 8 Oct 2015 18:12:10 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <393201296.20151008181210@yandex.ru> To: Yucong Sun , cygwin AT cygwin DOT com Subject: Re: Running a program using a DLL under Cygwin In-Reply-To: References: <22038 DOT 29093 DOT 221000 DOT 863384 AT woitok DOT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Yucong Sun! https://cygwin.com/acronyms/#TOFU pretty please... > I think symlink is a cygwin thing. Windows won't find that DLL (just > like you won't find it using windows explorer.) Unless he have created a Windows symlink, that is correct. Explorer, however, may find it, as Cygwin symlinks are Windows LNK files. > Windows only support loading DLL from project directory, or system32 > as far as I know. That's not correct. Windows can be told to load DLL's from multiple places, and you can add to that by registering your DLL in AppPaths registry key. But a bottom point of the issue is that the OP's project is poorly designed and needs a rework in the part of finding and loading custom plugins (I suppose). There should be no need to move DLL's around, least to place them in a shared location like user's ~/bin... -- With best regards, Andrey Repin Thursday, October 8, 2015 18:08:16 Sorry for my terrible english... -- 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