Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 29 Mar 2004 22:40:19 -0500 (EST)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: "Edward S. Peschko" <esp5@pge.com>
cc: cygwin@cygwin.com
Subject: Re: popups upon library errors.
In-Reply-To: <20040330010354.GC17059@mdssdev05.comp.pge.com>
Message-ID: <Pine.GSO.4.56.0403292235550.1185@slinky.cs.nyu.edu>
References: <62134.24.126.73.164.1080436256.squirrel@webmail4.pair.com> <40667F39.90908@att.net> <20040330010354.GC17059@mdssdev05.comp.pge.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Scanned-By: MIMEDefang 2.39

On Mon, 29 Mar 2004, Edward S. Peschko wrote:

> On Sun, Mar 28, 2004 at 02:31:05AM -0500, David Fritz wrote:
> > dank<at>kegel<dot>com wrote:
> >
> > >Can you take a screenshot of the dialog box and either post
> > >a URL for it, or send it to me directly (I imagine this mailing
> > >list doesn't want largish attachments cluttering up everyone's inbox)?
> >
> > In latter versions of Windows when you press Ctrl+C while a standard
> > message box has the focus, Windows will copy to the clipboard an ASCII art
> > style representation of the message box.
> >
> > For example:
> >
> > ---------------------------
> > ls.exe - Application Error
> > ---------------------------
> > The application failed to initialize properly (0xc0000022). Click on OK to
> > terminate the application.
> > ---------------------------
> > OK
> > ---------------------------
>
> well, that was interesting, becuase that is the error I get with tar..

AFAIR, this popup appears whenever a DLL is in the PATH but is not
executable.  I don't think there's an easy way of convincing Windows to
keep control in the application after this (short of using dlopen() for
all dynamically linked calls, and checking the return value -- which you
don't really want to do).  If you discover a way (MSDN would be a good
start), PTC.

> I get the following error with libICE:
>
> --------------------------------
> emacs.exe - Unable To Locate DLL
> --------------------------------
> The dynamic link library libICE.dll could not be found in the specified path
> c:\cygwin\bin;.;C:\WINNT\System32;C:\WINNT\system;C:\WINNT;
> --------------------------------
> OK
> --------------------------------
>
> Ed

This one's easy.  Just do "which libICE.dll" in your shell, and add that
directory to the PATH.  I bet it's in "/usr/X11R6/bin"...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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

