Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2005, 03:02
Gato_negro
 
Posts: n/a
BP on KeyPress

Hi theres a way to break on keyboard keypress on OllyDbg?

Thanks for your time
Reply With Quote
  #2  
Old 04-19-2005, 12:30
Hero Hero is offline
VIP
 
Join Date: Jan 2005
Posts: 226
Rept. Given: 2
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 5
Thanks Rcvd at 2 Times in 2 Posts
Hero Reputation: 1
Hi Gato_negro
I think you can do this by setting a conditional breakpoint on TranslateMessage()
in kernel32.dll for the message that is caught.
(Everybody please say better ideas please,This is what i know.)

sincerely yours
__________________
I should look out my posts,or JMI gets mad on me!
Reply With Quote
  #3  
Old 04-19-2005, 13:22
thomasantony
 
Posts: n/a
Hi,
If the program processes WM_CHAR or WM_KEYDOWN messages put ordinary BP on the respective part in the WndProc.

Thomas
Reply With Quote
  #4  
Old 04-21-2005, 00:39
Silver
 
Posts: n/a
GetAsynchKeyState() is also worth looking into for progs that deliberately avoid using WM_CHAR
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Keypress and what will happen then? trodas General Discussion 11 10-18-2013 20:50


All times are GMT +8. The time now is 01:06.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )