Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: How to detect that an external process stopped because of a crash (on Windows)?
On Mon, 21 Feb 2005 10:30:56 +0100, Arjen Markus
<arjen.markus@wldelft.nl> wrote:

>Hello,
>
>I would like to ask you about a rather nasty property of Windows:
>Sometimes when a program does something it should not, Windows
>helpfully puts up a message box stating that fact and then
>the process waits for confirmation by the user.

Hi Arjen,
if the processes you start are under your control (that is, you have
the sources), you can modify them to not pop up this message. Turn to
your helpful Tcl sources :)
The win-pipe tests or rahter some specially crafted parts of tcltest
perform this magic via a Windows function call.
HTH
Helmut Giese

Report this thread to moderator Post Follow-up to this message
Old Post
Helmut Giese
02-22-05 09:02 PM


Re: How to detect that an external process stopped because of a crash (on Windows)?
On Tue, 22 Feb 2005 11:46:59 GMT, hgiese@ratiosoft.com (Helmut Giese)
wrote:

>Hi Arjen,
>if the processes you start are under your control (that is, you have
>the sources), you can modify them to not pop up this message. Turn to
>your helpful Tcl sources :)
>The win-pipe tests or rahter some specially crafted parts of tcltest
>perform this magic via a Windows function call.

Ok, just had a look myself. From tclWinTest.c
---
/*
* Make sure the GPF dialog doesn't popup.
*/

SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX);
---
HTH
Helmut Giese


Report this thread to moderator Post Follow-up to this message
Old Post
Helmut Giese
02-22-05 09:02 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Tcl archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:54 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.