This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: popups upon library errors.


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]