Solved❓ Memory Writing Question

Posts 1–6 of 6 · Page 1 of 1
❓ Memory Writing Question
Ok i have simple question. Ok it's kinda hard for me to explain it with this bad english but i gonna try.
So i wanna to simulate buttion click in a program with memory writing(if it's impossible).
Quote Originally Posted by Pwnographer View Post
Ok i have simple question. Ok it's kinda hard for me to explain it with this bad english but i gonna try.
So i wanna to simulate buttion click in a program with memory writing(if it's impossible).
Definitely possible, but you need to research some things first.

Looking into Windows Message Queues

You can use Spy++ (comes with some versions of VS) to figure out which button to target and trap the messages.
Uhm..
Like that the program click the button1 every tick of the timer1?
MessageQueue does not work in DirectX I guess.

If you want to click a button in a normal application message queue (as said previously) is the way to go.

Memoryediting won't help you in this case.
Quote Originally Posted by Blubb1337 View Post
MessageQueue does not work in DirectX I guess.

If you want to click a button in a normal application message queue (as said previously) is the way to go.

Memoryediting won't help you in this case.
I think it's unlikely that the target is a DirectX application, but it's a fair point. Clicking a button using SendMessage is fairly trivial once you understand the messaging queue and how to iterate child controls (EnumChildWindows..etc), but learning the basics can be a bit of a pain.
@Broderick answer should work.
Using spy++ to get the control id. Use GetDlgItem to get the handle from that or maybe use FindWindowEx to get the child control.
Using PostMessage or SendMessage, cant remember which one.

In the past iv used this method to auto send messages to a game server. But iv never tried clicking buttons, shouldnt be all that hard to do.
If you or anyone comes up with a solution, share it in this thread. I wouldnt mind knowing, incase this question comes up again.
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us