OK, after much help from
tye, I was able to hack together something that sems to work. I added a new function to the DLL that looks like this:
struct FREQ_INFO GetCpuSpeed()
{
return cpuspeed(0);
}
The only thing I'm doing different here is to remove the parameter to the GetCpuSpeed call, since 99.99999% of the time cpuspeed gets called with parameter 0 anyway. Works like a champ now (after adding
tye's code to make sure I get numbers out that make sense).
GuildensternNegaterd character class uber alles!