www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/03/08:26:56

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <18586877 DOT 41220425151032 DOT JavaMail DOT root AT ns354536 DOT ovh DOT net> <16757535 DOT 101220426159571 DOT JavaMail DOT root AT ns354536 DOT ovh DOT net>
Subject: RE: All commands raise an exception
Date: Wed, 3 Sep 2008 13:26:13 +0100
Message-ID: <011701c90dc0$416304a0$9601a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <16757535.101220426159571.JavaMail.root@ns354536.ovh.net>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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
Note-from-DJ: This may be spam

Phil Ten wrote on 03 September 2008 08:16:

> My cygwin configuration suddenly started to fail.

  Stop right there.  What did you install on your PC round about that time?
Hardware?  Software?  Security-related stuff like AV or firewall or
antispyware?  Logitech Webcam?

> I case it could help, I mention that I checked bash.exe with
> Dependecy Walker, it reports a missing DLL DWMAPI.DLL (dynamically
> loaded).

  No, delay load is actually a bit different.  It makes loading the DLL
optional, it's only pulled in at runtime if it's actually needed (when/if the
program tries to call it).

>  With the audit feature I checked if bash.exe was trying to access
> DWMAPI.DLL, it doesn't seem to be the case.

  Yeh, that's a false positive of some sort.  It's a DLL that exists only on
Vista, it's pulled in indirectly via the chain dwmapi.dll <- ieframe.dll <-
mshtml.dll <- shdocvw.dll <-shell32.dll <- setupapi.dll <- mprapi.dll <-
iphlpapi.dll <- dnsapi.dll <- netapi32.dll <- winsta.dll <- user32.dll <-
wintrust.dll <- advapi32.dll <- cygwin1.dll.  (boggle!  Note that the wintrust
<- advapi link is also delay-load, so probably none of this gets invoked
normally.)



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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