CPU load

Hello, does anyone know how to get the CPU load of a process and of the entire computer? I have tried searching this topic but haven't found a good way.
I used that before but when I compile I keep getting the error:

CpuUsage.obj : error LNK2019: unresolved external symbol "public: int __thiscall CCpuUsage::EnablePerformaceCounters(int)" (?EnablePerformaceCounters@CCpuUsage@@QAEHH@Z) referenced in function "public: int __thiscall CCpuUsage::GetCpuUsage(unsigned long)" (?GetCpuUsage@CCpuUsage@@QAEHK@Z)
.\Release/CpuUsage.exe : fatal error LNK1120: 1 unresolved externals

And I have no idea what that means. I am using VC++ 2008.
That means that the functions used are in a non-standard library. You'll have to manually link the library. I'm not sure which one it is, but it could be psapi.lib.
Topic archived. No new replies allowed.