Hey E*PvP
Ich hab ein Problem beim Memory Handling unter Windows 7.
Dieses normale Memorymodul
Hat bei mir einwandfrei unter Windows XP funktioniert.
Hat jemand eine Lösung für Windows 7?
Beim Auslesen kommt bei mir immer nur 0 raus.
Und Schreiben funktioniert garnicht.
Ich hab ein Problem beim Memory Handling unter Windows 7.
Dieses normale Memorymodul
Code:
Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Integer, ByVal bInheritHandle As Integer, ByVal dwProcessId As Integer) As Integer
Private Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
Private Declare Function WriteFloatMemory Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Single, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
Private Declare Function ReadFloat Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As IntPtr, ByVal lpBaseAddress As IntPtr, ByRef buffer As Single, ByVal size As Int32, ByRef lpNumberOfBytesRead As Int32) As Boolean
[......]
Hat jemand eine Lösung für Windows 7?
Beim Auslesen kommt bei mir immer nur 0 raus.
Und Schreiben funktioniert garnicht.