I changed the openprocess to:
Seems to work.. Now I just need to resolve this:Code:Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Integer, ByVal blnheritHandle As Boolean, ByVal dwAppProcessId As Integer) As IntPtr
LINE: Call GetSystemInfo(si)
Code:Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.




Reply With Quote
