<style></style><div><font size="2" face="Arial">The hobbit monitor system uses your routine to 
gathers cpu load. But it ALWAYS showed 100% in my case: windows with 64 bits 
architecture running a XP virtual machine (32bits). In this machine the code is 
compiled and executed. </font></div>
<div> </div>
<div><font size="2" face="Arial">The solution I applied was:<br>Add "WIN32" to the 
options in de preprocessor definitions. Then, just like magic, it worked. 
</font></div>
<div> </div>
<div><font size="2" face="Arial">That worked for me. Anyone have something to add?<br></font></div>
<div> </div>
<div><font size="2" face="Arial">[]'s<br>Joćo Brejo</font></div>