Falkor Posted February 21, 2010 Share Posted February 21, 2010 #include <NomadMemory.au3> SetPrivilege("SeDebugPrivilege", 1) $pid = _MemoryOpen(ProcessExists("notepad.exe")) MsgBox(0, "PID", $pid) _MemoryClose($pid) Hey all, I'm pretty new to AutoIT but a fast learner I've been trying to figure out memory reading and starting off by simple trying to get the PID from the current notepad.exe process. Running the above code presents a blank msgbox, I've tried everything I can think of but its either the code or the fact im running Windows 7 x64. Any replys would be much appreiciated and I apologise if its a really really simple mistake!. Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now