شغلت الرنامج من داخل الفيجوال ستديو 2012
او طلعت المشكلة ابهذا الكود
Imports System
Imports System.Diagnostics
Imports System.Runtime.InteropServices
Public Class MemAPI
<DllImport("kernel32.dll")> _
Private Shared Function ReadProcessMemory(ByVal hProcess As IntPtr, ByVal lpBaseAddress As Integer, <Out()> _
ByVal lpBuffer As Byte(), ByVal nSize As Integer, ByVal lpNumberOfBytesRead As Byte) As Boolean
End Function
<DllImport("kernel32.dll")> _
Private Shared Function WriteProcessMemory(ByVal hProcess As IntPtr, ByVal lpBaseAddress As Integer, _
ByVal lpBuffer As Byte(), ByVal nSize As Integer, ByVal lpNumberOfBytesWritten As Byte) As Boolean
End Function
Public Shared Function Peek(ByVal proc As Process, ByVal address As Integer, ByVal data As Byte()) As Boolean
Return ReadProcessMemory(proc.Handle, address, data, data.Length, 0)
End Function
Public Shared Function Poke(ByVal proc As Process, ByVal address As Integer, ByVal data As Byte()) As Boolean
Return WriteProcessMemory(proc.Handle, address, data, data.Length, 0)
End Function
End Class
او هاي صورة للمشكلة