in reply to Changing Windows Process Priority

Based on test.pl
use Win32::Process; my $curentProcess; my $pid = Win32::Process::GetCurrentProcessID(); if (Win32::Process::Open($curentProcess, $pid, 0)) { $p->SetPriorityClass(HIGH_PRIORITY_CLASS)) }

Replies are listed 'Best First'.
Re^2: Changing Windows Process Priority
by ikegami (Patriarch) on Apr 27, 2009 at 22:35 UTC
    $parent_post =~ s/\$p->/\$curentProcess->/; $parent_post =~ s/curent/current/g;