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...

Any suggestions?

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...

Thank you