Hi,
How can I change the priority of the current process in managed C++. I think
it sould look like :
System::Diagnostics::Process::PriorityClass =
System::Diagnostics::ProcessPriorityClass::High;
Thanks,
Hugo
Jochen Kalmbach [MVP] - 04 Apr 2006 19:19 GMT
Hi H.!
> How can I change the priority of the current process in managed C++. I think
> it sould look like :
>
> System::Diagnostics::Process::PriorityClass =
> System::Diagnostics::ProcessPriorityClass::High;
System::Diagnostics::Process ^p =
System::Diagnostics::Process::GetCurrentProcess();
p->PriorityClass = System::Diagnostics::ProcessPriorityClass::High;

Signature
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/