Zitat von
Razor:
Well i got the info from Delphi Praxis
Link
I see. So the signature of LX_Get_CPUTempValue is well known and testet, and hopefully other functions work similar, but this can't be assured by one known signature.
Well, I guess that you should change the boolean in the
DLL-Function Call (as parameter and result) to LongBool. This is the more convenient way do return a True or False, because most languages supports a generic Integer Type (int in C, Integer in Delphi, ...), while boolean might be implemented in different ways.