Task 3 - NEWBIES general info Saturday, 06-Feb-99 18:41:23
Now, we need to use a breakpoint insoftice, to make it pops up when MEMO95 is reading our name and our serial. The most common breakpoints when reading from a window, like we can see in MEMO95, are: BPX GetWindowTextA BPX GetDlgItemTextA You'll find that the first one is working right. Also, remember to read again your notes for the Task 2, and you should find an address (a line number in the dead listing) where the true serial is stored. If you find it, you'll be able to use a breakpoint like: BPX 0040xxxx But remember, to set such a breakpoint, you MUST be in the code listing (inside SoftIce), so you'll first use a BPX GetWindowTextA, then you'll hit F11 to be back to the point where the function (named an API) is called from, and if you're back in MEMO95 code, so you'll be able to set the BPX on the code line. When you want to know which breakpoint you can use for a program, it's always a good idea to look in the Import Functions (one of the icons near the String references one). Have fun with this 3rd task :-) Friendly, HarvestR HarvestR |
HarvestR: Checking the HLP file (03-Feb-99 11:53:15) |
|
Copyright © InsideTheWeb, Inc. 1997-1999
All rights reserved.