>>Eylon,
>>Try closing the handle, reopening it and checking the priority again. It may be that the change doesn't take place until the thread is closed.
>Larry,
>Nope - that didn't help. Besides - why should it?
>TNXS, Eylon
It was just a guess.
Like records where data is not written until the information is committed, it could be the OS doesn't acknowledge changes to threads until the handle is closed. If, for whatever reason, you set the priority of a thread/process and then reset it back to what it was at the beginning of the operation, the OS shouldn't need to see what you did in the intermediate time.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao