Page 1 of 1

C++ example code doesn't work

Posted: Mon Sep 27, 2010 3:22 pm
by aVoX
Hi there!

I have been searching for 2 weeks for a way to read the temperature of the CPU and its cores. Yesterday I found CoreTemp's homepage and today I downloaded the C++ demo project and the DLL. Whenever I start the linked exe-file or the project, a console window pops up with the following content:

Code: Select all

Core Temp shared memory reader:
Error: Core Temp's shared memory could not be read.
Error number: 2
Error description: Das System kann die angegebene Datei nicht finden.
The funny thing is: When I start the official linked version, everything runs fine.
So, where is the problem and how can I solve it?

Cheer, aVoX.

Edit: My CPU is an AMD Turion 64 X2 (RM-72, Mobile Edition)

Re: C++ example code doesn't work

Posted: Mon Sep 27, 2010 4:19 pm
by The Coolest
You must have Core Temp running for the sample to work.
It uses the shared memory block, which Core Temp exposes to get the data.

Re: C++ example code doesn't work

Posted: Mon Sep 27, 2010 8:10 pm
by aVoX
The Coolest wrote:You must have Core Temp running for the sample to work.
It uses the shared memory block, which Core Temp exposes to get the data.
OK, that sounds logical...
However, I wanted to code a standalone... :|