From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43907 invoked by alias); 8 Oct 2015 15:20:11 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 43899 invoked by uid 89); 8 Oct 2015 15:20:10 -0000 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 Received: from smtp.ht-systems.ru (HELO smtp.ht-systems.ru) (78.110.50.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 08 Oct 2015 15:20:08 +0000 Received: from [95.165.144.62] (helo=darkdragon.lan) by smtp.ht-systems.ru with esmtpa (Exim 4.80.1) (envelope-from ) (Authenticated sender: postmaster@rootdir.org) id 1ZkCzC-0003bw-G0 ; Thu, 08 Oct 2015 18:20:02 +0300 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Thu, 08 Oct 2015 15:12:11 -0000 Date: Thu, 08 Oct 2015 15:20:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <393201296.20151008181210@yandex.ru> To: Yucong Sun , cygwin@cygwin.com Subject: Re: Running a program using a DLL under Cygwin In-Reply-To: References: <22038.29093.221000.863384@woitok.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00093.txt.bz2 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