X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject:  Re: Need help with Perl/Tk
Date:  Thu, 13 Dec 2007 08:29:48 -0700
Lines: 17
Message-ID: <fjrj5d$ndd$1@ger.gmane.org>
References:  <fjr4t5$5sf$1@ger.gmane.org> <3551E1877C7A4F9EA99799CED176646E@desktop2> <fjrh39$gej$1@ger.gmane.org> <00e601c83d9a$0cf54e40$2e08a8c0@CAM.ARTIMI.COM>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
In-Reply-To: <00e601c83d9a$0cf54e40$2e08a8c0@CAM.ARTIMI.COM>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

Dave Korn wrote:
> On 13 December 2007 14:55, Andrew DeFaria wrote:
>>> (When it comes to DynaLoader you gotta learn to read the fine print 
>>> and make intuitive leaps :-)
>> Yes but it did indeed state "No such file or directory...". Would it 
>> be that hard for DynaLoader.pm to mention exactly which file it was 
>> looking for?
> Yes, it would, because that information is not exposed to the 
> application; you just call LoadLibrary, and if you get a file not 
> found error back, there's no way to determine if it was the library 
> DLL itself or one of the dependent DLLs that windows couldn't find.
Well then how about changing the error message to something as 
nonsensical as "Unable to find this library, or a library on which this 
one depends..."
-- 
Andrew DeFaria <http://defaria.com>
All I want in life is a warm bed, and unlimited power.


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

