Autor Beitrag
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Mi 05.04.06 14:07 
Wie kann ich die Priorität eines anderen Tasks zur Laufzeit (also nicht z.B. mit "start /abovenormal notepad.exe") verändern?

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mi 05.04.06 15:02 
ausblenden Delphi-Quelltext
1:
SetPriorityClass(GetCurrentProcess, NORMAL_PRIORITY_CLASS);					

Wenn es ein fremder Prozess ist, dann musst du dessen Handle haben und statt GetCurrentProcess angeben.
Timosch Threadstarter
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Do 06.04.06 15:05 
Danke! Hätte nicht gedacht, dass es so einfach ist. Aber hier findet man ja auf wirklich alles eine Antwort, thx.

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 07.04.06 11:19 
Wenn es so einfach ist...
Wenn ich ne Frage stelle, dann findet sich nicht immer eine Lösung... :wink: