Hello,
I'm trying to retrieve my cpu load as follows :
PerformanceCounter* cpuCounter = new PerformanceCounter("Processor", "%
Processor Time", "_Total");
float value = cpuCounter->NextValue();
However, this always returns 0.0. The same query used in perfmon.exe works
fine.
Do I miss something here ?
TIA,
Michiel.