Code Comments
Programming Forum and web based access to our favorite programming groups.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
Post Follow-up to this messageOn 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
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.