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 


writing .dll files in C++
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Aug 16, 2007 10:46 pm    Post subject: writing .dll files in C++ Reply with quote

I couldn't find any good tutorials on how to write .dll files in C++, so if someone could give me a link to a good tutorial it would be greatly appreciated.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Aug 16, 2007 10:48 pm    Post subject: Reply with quote

What do you want to write dll files for? There are a multitude of things people use them for, the most common being to store resource data, functions that will be used by many applications, or code injection.
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Aug 16, 2007 10:52 pm    Post subject: Reply with quote

Um, would it be possible to make a .dll file using ReadProcessMemory() on a .exe file?
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Aug 16, 2007 10:54 pm    Post subject: Reply with quote

What? You want to create a dll with the contents of ReadProcessMemory? Or did you mean you wanted to make a dll that uses ReadProcessMemory?
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Aug 16, 2007 10:55 pm    Post subject: Reply with quote

A .dll file that uses ReadProcessMemory()
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Aug 16, 2007 10:59 pm    Post subject: Reply with quote

DLLs are executable files, so you would make them just as you would a normal Windows application. Post again when you have a specific problem.
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Aug 16, 2007 11:00 pm    Post subject: Reply with quote

So basicly its the same coding...

Edit:

I need a tutorial on how to use ReadProcessMemory()

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Robotex
Master Cheater
Reputation: 0

Joined: 05 Sep 2006
Posts: 378
Location: The pizza country!

PostPosted: Thu Aug 16, 2007 11:03 pm    Post subject: Reply with quote

http://msdn2.microsoft.com/en-us/library/ms680553.aspx
_________________

ASM/C++ Coder
Project Speranza lead developer
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Aug 16, 2007 11:24 pm    Post subject: Reply with quote

That really didn't help. I already knew the parameters and such. I need an example help me understand more.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Thu Aug 16, 2007 11:35 pm    Post subject: Reply with quote

What exactly is the problem?

ReadProcessMemory(handle to the process, the address, the buffer to read it into, how many bytes to read, NULL)
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Aug 16, 2007 11:44 pm    Post subject: Reply with quote

Ok. But is there a way, so I don't have to put in every singe address. Like a loop. I just don't know how that would work...
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Aug 16, 2007 11:52 pm    Post subject: Reply with quote

1. I am not a noob, but I am not a "pro"
2. I am not trying to make a trainer, you aren't even close
3. I really don't care. I want to learn how to use ReadProccessMemory. And I think in my case I do need to use ReadProccessMemory

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Fri Aug 17, 2007 1:20 am    Post subject: Reply with quote

oib111 wrote:
1. I am not a noob, but I am not a "pro"
2. I am not trying to make a trainer, you aren't even close
3. I really don't care. I want to learn how to use ReadProccessMemory. And I think in my case I do need to use ReadProccessMemory


don't worry some people are on themselves, anyway have you tried google searching? that usually helps me with my problems =D

_________________
Back to top
View user's profile Send private message MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Fri Aug 17, 2007 1:27 am    Post subject: Reply with quote

oib111 wrote:
1. I am not a noob, but I am not a "pro"


Humble yourself.
Back to top
View user's profile Send private message
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Fri Aug 17, 2007 2:11 am    Post subject: Reply with quote

appalsap wrote:
oib111 wrote:
1. I am not a noob, but I am not a "pro"


Humble yourself.


omfg appalsap you screwed up your 6000 post count Sad it looked so pro!

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

 
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