Re: Showmessage equivalen durning shutdown.

From: Jon Jacobs (jqjacobsATgte.net)
Date: 12/01/03


Date: Mon, 1 Dec 2003 13:09:52 -0600


> Write the messages to a log file. Make sure sure you "flush" the file
> by closing it after each write so you don't lose the data. (Yes, it is
> inefficient, but this is debug code which you're going to toss as soon
> as you find the fix anyhow.)
I had originally rejected the log file approach since the program would not
stop there, but on reflection, I realize that log entries that are written
happen before the error, and entries not written would have happened after
the error, so I would learn the same thing. Thanks.



Relevant Pages

  • Re: Looping through a log file
    ... > My project is to parse a text log file created by a propietary ... That's the parsing process mentioned above. ... > Event 1 time stamp info ... Is there a need to worry about log entries being written while we are ...
    (comp.lang.perl.misc)
  • Re: Random tapisrv.dll crashes, stuck in infinite loop
    ... I have log entries before and after I execute the lineEventProc from ... TSP side, and those entries are always in the log file, indicating that ... Microsoft MVP for TAPI / Windows SDK ... * Please post all messages and replies to the newsgroup so all may ...
    (microsoft.public.win32.programmer.tapi)
  • Re: IIS SMTP - Help with lots of undelivered emails
    ... emails in the log entries. ... The log format is W3C Extended Log File Format and I have pasted a partial ... i appears that the failed messages are ... not being written to the log file. ...
    (microsoft.public.inetserver.iis.smtp_nntp)
  • Re: Random tapisrv.dll crashes, stuck in infinite loop
    ... file is also filled with "Got an spevent" messages. ... I have log entries before and after I execute the lineEventProc from ... TSP side, and those entries are always in the log file, indicating that ...
    (microsoft.public.win32.programmer.tapi)
  • Re: Disk transfers
    ... lower transaction rates, such that the large block for the log file isn't ... high-throughput case, it certainly won't have a problem with this ... smaller, you can use earlier log entries for the padding, thus ...
    (comp.arch)