U
UFO
hi,
i've made a program that shows the CPU idle time using the performance
counter, using Visual C# .
however, from some reason, it works on any computer other than my home PC .
i've searched on the net but couldn't find what causes it.
what i get is an exception that if is not caught, closes the program. here's
a picture of what i get while debugging:
http://img294.yfrog.com/i/picture20091211182403.png/
what i think is that maybe some service of windows (that the performance
counter needs) doesn't work well(or is just disabled) .
my computer runs on Windows Xp sp3 32bit home edition,updated as much as
possible (to the official updates) .
please help me. i'm kinda a newb at C# (but i do know Java quite well) .
btw, i still don't get any email notifications for new posts, even if i
choose to get them.
i've made a program that shows the CPU idle time using the performance
counter, using Visual C# .
however, from some reason, it works on any computer other than my home PC .
i've searched on the net but couldn't find what causes it.
what i get is an exception that if is not caught, closes the program. here's
a picture of what i get while debugging:
http://img294.yfrog.com/i/picture20091211182403.png/
what i think is that maybe some service of windows (that the performance
counter needs) doesn't work well(or is just disabled) .
my computer runs on Windows Xp sp3 32bit home edition,updated as much as
possible (to the official updates) .
please help me. i'm kinda a newb at C# (but i do know Java quite well) .
btw, i still don't get any email notifications for new posts, even if i
choose to get them.