When I run your example named below using VFP 9 SP2 the SetPriorityClass function return a value of zero. GetLastError then returns a value of 5 (Access denied). The priority of my exe remains normal. I was expecting it to be High.
Reading and setting the priority class values for the current process and thread
Any help would be appreciated!
A.M. | 2008-02-07 21:55:43
That means either the user account does not have rights to change the priority or the handle to the process does not have the PROCESS_SET_INFORMATION access right.
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.