Thanks for the reply, Pete.
> Does the problem resolve itself? For example, if you reboot? Or is it
> persistent?
The error only appeared once, and I rebooted, and I have not seen it
since. Although, I have not done much development since, so this
doesn't mean much.
I should NOTE that I've used the System.Windows.Forms.Timer before,
many times, in this exact manner (letting the form destruct it without
telling it to stop explicitly), and I have never seen this error
before.
However, it seemed strange that it appears right after I about 20 or
30 test runs of a really, really simple application that does nothing
more than making a System.Windows.Forms.Timer, and uses it to update a
rich text box. Note that it didn't appear right away, but only after
30 or 60 minutes of development and test running the program.
> If it's persistent, you may want to read through these links:
>
> http://blogs.msdn.com/mikedodd/archi...17/243799.aspx
> (Note the date...you'll want to look in your .NET installation for the
> most up-to-date .ini file, using the blog entry as a guide)
>
> http://channel9.msdn.com/forums/Tech...ounters-are-co...
>
> http://support.microsoft.com/kb/300956
Thanks for these links. I will update this thread if the problem
continues, with further information. As of yet, I specifically stop
the timer before the form closes, to see if this will resolve the
situation.
> Either way, if and when you get your perf counters fixed, can you
> reproduce the problem at will?
No, I cannot. I will mess with this and see if I can do this, and let
you know.
> You are vague about which Timer class
> you're using,
System.Windows.Forms.Timer
> but I don't really see why failing to stop an instance of
> any of the Timer classes would corrupt your performance counters. That
> sounds like a bug to me (in .NET).
I agree.
Zytan