> It's been a while since I developed for Windows, so I do not know if > the following function is deprecated or not, or even will work on all > Windows versions: > SetPriorityClass > > You can set the process priority at runtime as far as I remember > (please take a look at MSDN for better information :)). > > Ido
Thank you, the function is not deprecated (I have looked up MSDN). However, it seems that property I asked about is not very useful: with such functions (and receiving handle of main process and so on) it would not be MORE difficult to change threads priorities in alike way. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel