X-Spam-Check-By: sourceware.org
X-Mail-Handler: MailHop Outbound by DynDNS
X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information)
X-MHO-User: postmaster@innobec.com
Message-ID: <44EDA26C.6000603@innobec.com>
Date: Thu, 24 Aug 2006 08:58:20 -0400
From: Pierre Baillargeon <pbaillargeon@innobec.com>
User-Agent: Thunderbird 1.5.0.5 (X11/20060719)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: no message or dialog when a DLL is missing
References: <44ECC152.3020503@innobec.com> <Pine.GSO.4.63.0608231740100.19954@access1.cims.nyu.edu>
In-Reply-To: <Pine.GSO.4.63.0608231740100.19954@access1.cims.nyu.edu>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-SA-Do-Not-Run: IfYouSaySo
X-SA-Exim-Connect-IP: 192.168.62.154
X-SA-Exim-Mail-From: pbaillargeon@innobec.com
X-SA-Exim-Scanned: No (on rodriguez); SAEximRunCond expanded to false
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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

Igor Peshansky wrote:
> One thing in your setup is that you have both Cygwin and MKS in your path,
> and that's just asking for trouble.  But I doubt it's the cause of your
> current problem.

True enough, I can try uninstalling it now that I use cygwin exclusively, but
I concur that it is probably not the problem.

> 
> You really haven't given us enough to go on here.  What is the program,
> which DLL is it missing, how do you know it requires it, etc, etc.

I know, because it's a program I wrote. It's a DLL loaded by the Windows
loader. It's *not* from LoadLibrary() nor dlopen(). I also know because when
launched in cmd.exe, I get the usual Windows dialog about missing DLL. It's
the same dialog when you double-click on the executable in Windows Explorer.
The name of the DLL would not tell you much, since one of our own DLL.

I was mostly curious why the difference in behavior and how to get the
"standard" behavior instead of silent failure.

I suspected that the way cygwin launches program was by first supressing
system dialogs. ( I don't remember the trick off hand, but I remember reading
about it about how to supress error dialogs when accessing CD-ROM drives that
may not contain media.)

Thanks,

-- 
Pierre Baillargeon
Innobec.com

--
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/

