Log in

View Full Version : Si breakpoints for delphi stuff? please


Boristhebad
June 1st, 2001, 12:40
Trying to get a prog to break after entering my unlock code then pressing the "OK" button to unlock. Hmemcpy creates numerous breaks before getting the mouse anywhere near the button, no nag screens are present so bp's on messagebox dont work. ..........so how can I get it to break after the button push?
I am hoping to then trace the code to extract the correct serial (you get 4 attempts at the unlock code before the regscreen (form with radio buttons to select which part of the prog you require) dissappears.

Dante
June 1st, 2001, 13:50
Get any shareware which captures windows messages (WM_?? for ex.).I have c++ builder which contains such utility winsight32.exe
.So run it and just watch and learn which messages are generated in which situations.And after that just set bpm on that message in softice.Or for now try WM_GETTEXT. most appz are using it read text (serial?) from edit box just after you clicked on that button.