Perl: the Markov chain saw | |
PerlMonks |
Re: Win32::API GetProcessDEPPolicy usageby dt667 (Acolyte) |
on Mar 13, 2012 at 13:41 UTC ( [id://959334]=note: print w/replies, xml ) | Need Help?? |
Figured it out. The third input to GetProcessDEPPolicy needed to be $perm = pack("L",0); and then the $dep value is read by unpack("L",$dep); As this is only available for 32-bit processes and I am running the code on a 64-bit OS, I am assuming the "Parameter is incorrect" errors are from the 64-bit process running on my system.
In Section
Seekers of Perl Wisdom
|
|