delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 31 Aug 2006 08:53:47 +1200 |
From: | Danny Smith <dannysmith AT clear DOT net DOT nz> |
Subject: | RE: no message or dialog when a DLL is missing |
In-reply-to: | <046301c6cc49$2623b0f0$a501a8c0@CAM.ARTIMI.COM> |
To: | cygwin AT cygwin DOT com |
Message-id: | <000201c6cc76$63f2edb0$c64861cb@anykey> |
MIME-version: | 1.0 |
X-Mailer: | Microsoft Outlook, Build 10.0.2627 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Dave Korn > > On 30 August 2006 16:19, Pierre Baillargeon wrote: > > > I've identified the reason why DLL don't show up: in the > startup code > > (winsup/cygwin/dcrt0.cc), in dll_crt0_0(), Win32's > SetErrorMode() is > > called to suppress all OS error dialogs. It's there since 1998 > > according to the changelog, so it must not bother many people... > > It's a real, huge, massive problem, when an entirely > scripted and automated process such as a cron job suddenly > pops up a requester in the middle of the night that won't go > away until someone comes in the next day, logs in, and clicks > it away ... > Have you ever tried running the gcc (or other large) testsuite on mingw (or cygwin -mno-cygwin)? I have a special crt2.o that I use for that which does the SetErrorMode trick. Similarly there is nothing to stop user code from turning SetErrorMode() on again if you want it . Danny -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |