Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Win32::API GetProcessDEPPolicy usage

by dt667 (Novice)
on Mar 13, 2012 at 13:41 UTC ( #959334=note: print w/ replies, xml ) Need Help??

in reply to Win32::API GetProcessDEPPolicy usage

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.

Comment on Re: Win32::API GetProcessDEPPolicy usage

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://959334]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2015-10-09 10:52 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (239 votes), past polls