Einzelnen Beitrag anzeigen

NicoDE
(Gast)

n/a Beiträge
 
#4

Re: Beschränkung von GetTickCount umgehen

  Alt 25. Okt 2004, 17:15
Zitat von Dax:
Delphi-Quellcode:
if QPF = 0 then
  QueryPerformanceFrequency(QPF);
QueryPerformanceCounter(Ticks);
Ticks := Ticks div QPF;
Zitat von MSDN:
If the function fails, the return value is zero.
  Mit Zitat antworten Zitat