 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
Simsgy Grandmaster Cheater
Reputation: 0
Joined: 07 May 2007 Posts: 581 Location: My new avatar <3
|
Posted: Sun Aug 26, 2007 2:05 pm Post subject: [Question] Adding an EXE to resource and using it (Delphi) |
|
|
Ok, I know how to add files to the resource, and I know how to read media files, and most of the things, but I would like to add an EXE to the resource, and use it with regular file functions (Such as Rename(), CopyFile(), etc...), anyone knows how?
_________________
|
|
| Back to top |
|
 |
Ksbunker Advanced Cheater
Reputation: 0
Joined: 18 Oct 2006 Posts: 88
|
Posted: Sun Aug 26, 2007 2:45 pm Post subject: re: |
|
|
First code the program you want to add as a resource.
Secondly, include the raw data (as a regular text file in resource).
Thirdly, use WriteFile to write this data to disk with extension .exe.
You have just created a working executable.
|
|
| Back to top |
|
 |
Simsgy Grandmaster Cheater
Reputation: 0
Joined: 07 May 2007 Posts: 581 Location: My new avatar <3
|
Posted: Sun Aug 26, 2007 3:03 pm Post subject: Re: re: |
|
|
| Ksbunker wrote: | First code the program you want to add as a resource.
Secondly, include the raw data (as a regular text file in resource).
Thirdly, use WriteFile to write this data to disk with extension .exe.
You have just created a working executable. |
So what you are saying is, to include an exe and rename it to a .txt one, and then use the function to copy all of the strings inside him, and write them to an exe on the client's computer?
_________________
|
|
| Back to top |
|
 |
sponge I'm a spammer
Reputation: 1
Joined: 07 Nov 2006 Posts: 6009
|
Posted: Sun Aug 26, 2007 3:28 pm Post subject: Re: re: |
|
|
| Simsgy wrote: | | Ksbunker wrote: | First code the program you want to add as a resource.
Secondly, include the raw data (as a regular text file in resource).
Thirdly, use WriteFile to write this data to disk with extension .exe.
You have just created a working executable. |
So what you are saying is, to include an exe and rename it to a .txt one, and then use the function to copy all of the strings inside him, and write them to an exe on the client's computer? |
yes.
_________________
|
|
| Back to top |
|
 |
|
|
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
|
|