What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » ollydbg hooking window messages

ollydbg hooking window messages
Author: Message:
effection
Full Member
***

Destroy The Runner

Posts: 135
Reputation: 4
– / Male / Flag
Joined: Sep 2006
O.P. ollydbg hooking window messages
I would like to be able to see/set break points on certain conditions for wlm but i'm not sure how with olly although i've herd you can. I know i can view them with Spy++ but i'd like to trace them.
06-24-2007 12:17 AM
Profile E-Mail PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: ollydbg hooking window messages
You can set a conditional breakpoint (Shift+F2). A quick google search should give you some information about the conditions :)

This post was edited on 06-24-2007 at 01:38 AM by deAd.
06-24-2007 01:37 AM
Profile PM Find Quote Report
effection
Full Member
***

Destroy The Runner

Posts: 135
Reputation: 4
– / Male / Flag
Joined: Sep 2006
O.P. RE: ollydbg hooking window messages
what should i set it on though? SendMessageW and PostMessage? or is there any way i can set it on the message handler?
06-24-2007 11:20 AM
Profile E-Mail PM Find Quote Report
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: ollydbg hooking window messages
You can either set it on SendMessage/PostMessage (which will filter the message for all windows) or set it on the message handler (which will filter for only specific windows).

To find the message handler for a window, open Spy++ (not at the same time as OllyDbg or you'll get a system hang :p) and locate the window you'd like to watch. Then look in the properties, and the address of the message handler function will be shown. The condition will be something like:
code:
[EBP+8] == ___
(I'm not sure that it's +8, and the message number needs to be in hex)

This post was edited on 06-24-2007 at 03:14 PM by deAd.
06-24-2007 03:13 PM
Profile PM Find Quote Report
effection
Full Member
***

Destroy The Runner

Posts: 135
Reputation: 4
– / Male / Flag
Joined: Sep 2006
O.P. RE: ollydbg hooking window messages
thank you :)
06-25-2007 12:18 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On