Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   BP on KeyPress (https://forum.exetools.com/showthread.php?t=7384)

Gato_negro 04-19-2005 03:02

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

Thanks for your time :)

Hero 04-19-2005 12:30

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

thomasantony 04-19-2005 13:22

Hi,
If the program processes WM_CHAR or WM_KEYDOWN messages put ordinary BP on the respective part in the WndProc.

Thomas :D

Silver 04-21-2005 00:39

GetAsynchKeyState() is also worth looking into for progs that deliberately avoid using WM_CHAR


All times are GMT +8. The time now is 05:02.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX