h4c0r-BG Master Cheater
Reputation: 0
Joined: 29 Nov 2006 Posts: 449 Location: The yogurt country
|
Posted: Wed Oct 31, 2007 8:21 am Post subject: [Delphi] CopyMemory |
|
|
I would like to use CM in my dll to patch the memory of the process.
Like we know:
Parameters
Destination
A pointer to the starting address of the copied block's destination.
Source
A pointer to the starting address of the block of memory to copy.
Length
The size of the block of memory to copy, in bytes.
So how would look like this in "action"
I would like to make something like (since i saw no examples):
| Quote: | MyAddress := $401000
WhatToCopy := $75
SizeOfIt := 1
CopyMemory(MyAddress,WhatToCopy,SizeOfIt); |
Can this be done properly, and can someone give me an example how exactly to do it?
_________________
|
|