QueryPerformanceFrequency - Negative value
For some reason I get a negative value from this function on some computers.
I really can not switch to another function such as GetTickCount because I have a big application which uses QueryPerformanceFrequency all over.
I already tried to do
QueryPerformanceFrequency(&ticksPerSecond); //freq in [counts per second]
unsigned __int64 Ufreq = ticksPerSecond.QuadPart;
It doesn't help...
I can't seem to find a solution on the web even though this problem occurs on more than one computer...And this function is quite an important one I assume...
Re: QueryPerformanceFrequency - Negative value
U can try considering the value returned as hex value and proceed with normal calculations after that.
|All times are GMT +5.5. The time now is 14:33.|