Log in

View Full Version : Break on Keypress???


GATO_NEGRO
April 18th, 2005, 19:30
Hi, i have a problem with an app, this have shortkeys, when im press the shortkey..ALT+F this do a funtion(like all shortkeys, jejeje) ok, the problem its that when im press this shortkey DONT DO ANYTHING, this funtion can be maked with an ICON on the menu bar of the app, then yuo can use the MOUSE(clicking the ICON) or using shortkeys(taht not works, its disabled), only works the ICON using mouse, the shortkey its disabled, i need to find wheres call this funtion to crack it but i dont know what BP use, ive tried with ShowWindow,CreateWindowExA,... but never breaks when press the shortkey........
Any idea?????
Thanks
GRACIAS AMIGOS

Ricardo Narvaja
April 19th, 2005, 03:27
put a BMSG with a parameter WM_GETHOTKEY o WM_HOTKEY.

Ricardo Narvaja

GATO_NEGRO
April 19th, 2005, 10:47
Thanks Ricardo narvaja,
Do you have a tut to learn to put BMSG???

GRACIAS

haggar
April 19th, 2005, 12:10
>Do you have a tut to learn to put BMSG???


Open help in Olly and find under Breakpoints next quote:

- Message breakpoint is same as conditional logging except that OllyDbg automatically generates condition allowing to break on some message (like WM_PAINT) on the entry point to window procedure. You can set it in the Windows window.

GATO_NEGRO
April 19th, 2005, 12:15
Thanks Haggar im learn how to work with this BP's