ewwink / open-hardware-monitor

Automatically exported from code.google.com/p/open-hardware-monitor
0 stars 0 forks source link

When using the DLL, some CPU information is not shown #568

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When writing a .net app which uses the OpenHardwareMonitorLib.dll, some CPU 
information is not returned.

Sample VB.Net 2010 project is attached .

When the project is run, and button1 pressed, this is the result:

Number: 0 Name: CPU Core #1 Value: 42.30769 Type: Load
Number: 1 Name: CPU Core #2 Value: 19.23077 Type: Load
Number: 2 Name: CPU Total Value: 30.76923 Type: Load
Number: 3 Name: CPU Core #1 Value:  Type: Temperature
Number: 4 Name: CPU Core #2 Value:  Type: Temperature
Number: 5 Name: CPU Package Value:  Type: Temperature
Number: 6 Name: CPU Core #1 Value:  Type: Clock
Number: 7 Name: CPU Core #2 Value:  Type: Clock

The same bug is also noted here:
http://stackoverflow.com/questions/11765192/recent-openhardwaremonitor-sample-co
de-c-sharp

Obviously the CPU temp and clock is returned fine in the OpenHardwareMonitor 
program its self, so I would first assume it was my coding, but as someone else 
seems to have picked up the issue, then I am suspecting there is something more.

Original issue reported on code.google.com by rich...@richard-holt.net on 15 Feb 2014 at 1:29

Attachments:

GoogleCodeExporter commented 9 years ago
Hi
I have just solved the problem by running VS2010 as an administrator before 
loading the project.

Apologies for the spam, but I hope if anyone bumps into this then they will 
find the solution.

Original comment by rich...@richard-holt.net on 15 Feb 2014 at 1:36