How does one set process/thread priorities in VB??
/Rob
Printable View
How does one set process/thread priorities in VB??
/Rob
use the following Win32 API functions:
SetPriorityClass for setting the priority class for the process.
SetThreadPriority for setting the thread priority.
Use GetCurrentProcess and GetCurrentThread to get the handles of the currently executing process or thread.