Board index » delphi » Main VCL thread priroity

Main VCL thread priroity

How to change the priority of your application - main VLC thread?
 

Re:Main VCL thread priroity


Example:

SetThreadPriority(MainThreadID, THREAD_PRIORITY_IDLE);

ps. MainThreadID is a variable from the SysUtils unit. You can also retrieve
this value with GetWindowThreadProcessId(Application.Handle, nil).

"Davor Ofner" <davor.of...@ht.hr> schreef in bericht
news:99a78v$6fqf$1@as121.tel.hr...

Quote
> How to change the priority of your application - main VLC thread?

Other Threads