X-Spam-Check-By: sourceware.org Date: Thu, 31 Aug 2006 08:53:47 +1200 From: Danny Smith 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 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/