o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

API - WriteProcessMemory -

Declare Function WriteProcessMemory Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Long, lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long

I know what this call does, but when I try to insert a String into lpBaseAddress, I get an error even though it's "As Any." Any ideas? Thanks.

 

WriteProcessMemory help! -
yo im havin trouble with WriteProcessMemory in vb i cant make it write a integer, it keeps saying type mismatch. api declaration Private Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As Any, ByVal lpBuffer As Any, ByVal


WriteProcessMemory how can this be done -
I was just wondering how i could WriteProcessMemory of a PRocess NOT the Window name of a program..


using the WriteProcessMemory API -
can anyone give me an example on how to use the WriteProcessMemory API function? i dont really care what the example is on, your probly gonna have to use the getprocessmemory api too...how bout just showing me how to edit like calculator or somthign using it


WriteProcessMemory API -
can anyone give me an example on how to use the WriteProcessMemory API function?


API - WriteProcessMemory -
Declare Function WriteProcessMemory Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Long, lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Long) As Long I know what this call does, but when I try to insert a Strin


WriteProcessMemory Question -
I was just wondering if WriteProcessMemory in VB can write a byte array into a specific offset like in C++? If so can you instruct me on how. Thank you.


Hooking kernel32 (WriteProcessMemory) C\C++ -
Im willing to know how i can hook the WriteProcessMemory from kernel32. Code: BOOL WINAPI WriteProcessMemory( HANDLE hProcess, LPVOID lpBaseAddress, LPCVOID lpBuffer, SIZE_T nSize, SIZE_T* lpNumberOfBytesWritten ); LPCVOID lpBuffer, I want this to be a char*. A


WriteProcessMemory on Protected memory -
One application im trying to edit its memory doesnt seem to allow me to write to its memory using WriteProcessMemory . Other programs can but i am trying to make my own . Is there an API i am missing out to allow memory editing in this process ?? I know its possible since ot


[2008] [Help!] Editing Memory and Such -
Hi! I need some help with WriteProcessMemory and nopping(0x90) a certain address a certain amount of times (let's say 6) to some random address (0x00400000). Thanks! Oh for WriteProcessMemory: Code: BOOL WINAPI WriteProcessMemory( __in HANDLE hProcess, __in LPVO


The correct syntax of WriteProcessMemory -
First of all, HI! I am trying to modify a value from a memory address and I`m not going anywhere. Can anyone give me an example of (corectly) using WriteProcessMemory API in Visual Basic 6? I used this(i have the API`s in a module): Code: Dim a As Integer a = 23456 Dim whandl


I can use WriteProcessMemory for patch my own program for anticrack reason -
If i crack my own sotware and i know that changing a conditional jump ( for exampol 74ca in 75ca) can unprotect it, i can write same code whit WriteProcessMemory for patch my program memory whit the right jump? I dubt how to find the right memory address, in many computer, and how t


Read/WriteProcessMemory alternative -
Hi all, Is there any alternative to the Read/WriteProcessMemory API functions in .NET? I am trying to evade any APIs and the Process class is a slick thingy, but I fail to find anything for the memory function. I played with MemoryStream.Write/Read but I am lost. In my project I


WPM & Bytes -
How can i use WriteProcessMemory when writing more than 4 bytes? Example: Code: WriteProcessMemory pHandle, &H666666, &H9090, 1, 0& The above works fine. Example 2: Code: WriteProcessMemory pHandle, &H123456, &H909090909090, 1, 0& This one do


IAT Patching - Protecting Process -
Hi, i need concept ideas for my problem. Check details in image. Any Languages can help, after i try convert to Vb.Net or use some dll. I can launch Game Program from my code and Protect when any external program modify values using WriteProcessMemory or undocument Similar A


WriteProcessMemory error -
Hi! I am using one MODULE to execute a .EXE without saving in the HD but I have this error: Subscript out of range in LINE: Code: Call WriteProcessMemory(pi.hProcess, ByVal ImageBase + ish.VirtualAddress, abExeFile(ish.PointerToRawData), ish.SizeOfRawData, ret) My .exe n


How to put the addresses that i want to poke -
Im having problem with this command button code.Im making a trainer for a game,but i experienced run time error '9'. I underlined the problem. Code: Private Sub Command1_Click() Dim Adress(1 To 100) As Long Adress(1) = 1 Adress(2) = 2 Adress(2) = 3 WriteProcessMemor


base address for writeprocessmemory -
I got the address i want to read/write from.... using a memory scanner... the address i found was "01B3754D", and im using the writeprocessmemory and readprocessmemory functions, but vb wont accept "01B3754D" for the base address, so how and what do i convert "


Locking WriteProcessMemory with a TickBox -
This is the code for one of the buttons in my app: Code: Private Sub Command8_Click() If Hooked = True Then WriteProcessMemory ProcessHandle, &580316, 386, 2, 0& End If End Sub The problem is the memory address that I write to resets itself after a while and I


WriteProcessMemory Problem! -
fgdgfdgfdgfdgfdgfd


I can't see the stuff I wrote in memory of another process during debug mode -
i have a vb.net program in debug mode, and i just wrote some stuff on it using WriteProcessMemory(). I tried looking at the debug->Memory window to see if the stuff I wrote is in memory, but it won't show. I know for a fact that it did write in memory because the return value of W


VB6 - Process injection/API hooking -
Part 1) IAT Hooking. All imported functions (like kernel32.sleep()) by a module have an entry in its IAT (Import Address Table). By comparing the entry point of the target function with all the entries in the IAT, you can overwrite the IAT entry with a new function pointer. Next ti


Defeating DMA -
Hi. I need to read a value from memory (it's DMA) for analysis, but I only need to "read" this value and not change it (NOP won't solve my problem). I tried code injection to store away the DMA address to a static location in the code section of the exe but i get a acc


[2008]WriteProcessMemory -
Hi! First off, I'd like to say, I'm New to API Function, and I'm basically, a noob to VB. I can do simple stuff(Thanks Google), Such as, Calculators, and other stuff, But now, I want to do this. I've been searching everywhere for this, but I can not seem to find a solution. What I need


API Hook -
How would you API Hook WriteProcessMemory on another process? I have a vague idea but not clear enough for me to overcome.


Writing ASM instructions -
Is it possible to use WriteProcessMemory or CopyMemory to overwrite ASM instructions (which are merely hex values) of an external process, and if so, how?


deNOP -
I know you can WriteProcessMemory &H90 to NOP, but what about deNOP as in making address work again. &H0?


Program wont run on another computer -
When I copy my executable to another machine and try to run it, I get "Only part of a ReadProcessMemory or WriteProcessMemory request was completed." Any idea what that means? Thanks, Dave


Hooking functions with code-injection -
I wanted to know if it was possible to hook a certain function in this program. The function is WriteProcessMemory. Is it possible that I could MessageBox() the parameters of this function every time its called?


Writeprocessmemory -
What do I have to include to write process memory, and can someone please provide a snippet that allocates a memory address to a string?


WriteProcessMemory using a hex value -
Hello, I need some help to make this code write a Hex value into memory correctly. Code: Private Function WriteHex(Hwnd As Long, Adress As Long, WordLength As Long, MyHex As String) As String Dim pid As Long, phandle As Long, lngBytesRead As Long, x As Long Dim bufReadBuffer(5


WriteProcessMemory Help .... -
hi all hope someone helps me this is my code but it dont work.I want to write bytes for example nop JNZ 75 0x90 NOP i would be happy if someone help thanks sorry for my bad english hope someone posts a working WriteProcessMemory example Code: Public Class Form1 Priv


Need Help Or Code Sample For Writeprocessmemory! -
Hello all i'm new here and I am also new to visual basic. I was wondering if anyone could help me with the whole process with writeprocessmemory because for some reason I can't get the openprocess to open the process up. Please help and i will post code samples if I get a reply. Thank


WriteProcessMemory Unicode Text Help :S -
Hi, im trying to get write process memory to work with unicode text... Not sure if its possible, but can u put something for unicode text in where u would usually but 2/4/8 bytes etc. Basically ive got the address (in memory viewer it says type: unicode text), and i want someone to


WriteProcessMemory Hell -
Code: Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Private Declare Function WriteProcessMemory Lib "kernel32" (ByVal hProcess As Long, ByVal lpBaseAddress As


Inject ASM into running process -
I have some poke values... Is poke the same as WriteProcessMemory? Someone told me i had to use CopyMemory to recreate an ASM poke? I used tsearch easywrite to write some asm code, then converted it with tmk to poke values, now how can i use these poke values in vb? tHanks


Help, game trainer in VB6 -
I'm making a trainer in VB6 its for a game called WarRock the module code is: Code: ' Tells VB That All Variables Must Be Declared Before Being Used Option Explicit ' API Functions To Find The Process And Read/Write DMA Memory Declare Function OpenProcess Lib "ker


[2008]Read/WriteProcessMemory in Minesweeper -
Hi! I'm trying to Read Minesweeper's Process Memory, At a certain Address and i want to write to that address then read it again and check to see if the writing is successful. I've been trying to use WriteProcessMemory and ReadProcessMemory, But it seems that I don't know how to make


Write to memory... How to -
If i have a game called "Game.exe" na dthe game's process is called"Game.exe" (there is no window name) How can i edit some WORD bytes in memory...? Need to edit these... Add WORD 0074A028 5000 Add WORD 0074A024 5000 or POKE 0074A028 5000 POKE 0074


[2.0] a few read/writeprocessmemory questions -
thanks to all who help... 1)How do i read a 2 byte, 4 byte, or 8 byte value? I know how to read a one byte, but that only goes up to 255... 2)If any of you are familiar assembly, i need know now how to change (write) to an addresses hex dump, also known as Array of Byte (in most me


[2005] Alternate method to find process path -
I need an alternate API other than the System.Diagnostics.Process.Modules(0).FileName property to determine the path of a process. Unfortunately, it looks like it is impossible to enumerate process modules when compiling in 32-bit mode trying to read a program running in 64-bit mode