Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Delphi] CopyMemory

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
h4c0r-BG
Master Cheater
Reputation: 0

Joined: 29 Nov 2006
Posts: 449
Location: The yogurt country

PostPosted: Wed Oct 31, 2007 8:21 am    Post subject: [Delphi] CopyMemory Reply with quote

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?

_________________

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites