
This program can query the CPU usage on Windows 9x *and* Windows NT systems.
Most examples don't work on NT4 or older (including the examples found here on vbcoders.com), but this code does. It does this by calling an undocumented function (the same function TaskManager uses to get various Windows information).