1. Gibt der Code van Basilikum an wie viel CPU-
Zeit der Prozess verbraucht und nicht die Auslastung in Prozent.
GetProcessTimes
Zitat:
lpKernelTime
[out] Pointer to a FILETIME structure that receives the amount of time that the process has executed in kernel mode. The time that each of the threads of the process has executed in kernel mode is determined, and then all of those times are summed together to obtain this value.
lpUserTime
[out] Pointer to a FILETIME structure that receives the amount of time that the process has executed in user mode. The time that each of the threads of the process has executed in user mode is determined, and then all of those times are summed together to obtain this value.
2. Wenn du die TThread Klasse benutzt darfst du nur mit der Synchronize Methode auf
VCL Objekte einer Form zugreifen
3. Überprüf mal die Inahlte der variablen, was darin steht.