PDA

View Full Version : Ollydbg breakpoint on space bar?


olus
March 19th, 2013, 04:30
Hi all!
I play a game and i want to set breakpoint when i push space bar. What should i do in olly, thank you.

Kayaker
March 19th, 2013, 04:57
Look into trapping WM_KEYDOWN where wParam = VK_SPACE

http://msdn.microsoft.com/en-us/library/windows/desktop/ms646280%28v=vs.85%29.aspx

olus
March 20th, 2013, 02:11
Thank you,

I found the way to log all Window Message to find out the way this programe handle VM_KEYDOWN but nothing happened. Do you have another way to breakpoint programe when i press space bar?