Oh.. i forgot :)
Mike, the above is WHY your code didn't work! .. you had "lpBaseAddress" set as a pointer (with the *) .. it's NOT a pointer! Replace the ReadProcessMemory and WriteProcessMemory in your userlib with the ones above!
Tracer
.lib "kernel32.dll" CreateToolhelp32Snapshot% (flags, th32processid) Process32First% (snapshot, entry*) Process32Next% (snapshot, entry*) CloseHandle% (object) OpenProcess% (dwDesiredAccess%, bInheritHandle%, dwProcessId%) : "OpenProcess" ReadProcessMemory% (hProcess%, lpBaseAddress%, lpBuffer*, nSize%, lpNumberOfBytesRead%) WriteProcessMemory% (hProcess%, lpBaseAddress%, lpBuffer*, nSize%, lpNumberOfBytesWritten%)
Mike, the above is WHY your code didn't work! .. you had "lpBaseAddress" set as a pointer (with the *) .. it's NOT a pointer! Replace the ReadProcessMemory and WriteProcessMemory in your userlib with the ones above!
Tracer