delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/24/08:58:59

X-Spam-Check-By: sourceware.org
X-Mail-Handler: MailHop Outbound by DynDNS
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information)
X-MHO-User: postmaster AT innobec DOT com
Message-ID: <44EDA26C.6000603@innobec.com>
Date: Thu, 24 Aug 2006 08:58:20 -0400
From: Pierre Baillargeon <pbaillargeon AT innobec DOT com>
User-Agent: Thunderbird 1.5.0.5 (X11/20060719)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: no message or dialog when a DLL is missing
References: <44ECC152 DOT 3020503 AT innobec DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0608231740100 DOT 19954 AT access1 DOT cims DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.63.0608231740100.19954@access1.cims.nyu.edu>
X-SA-Do-Not-Run: IfYouSaySo
X-SA-Exim-Connect-IP: 192.168.62.154
X-SA-Exim-Mail-From: pbaillargeon AT innobec DOT com
X-SA-Exim-Scanned: No (on rodriguez); SAEximRunCond expanded to false
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019