JMI
February 20th, 2008, 18:52
Good response and you could have avoided my questions all together if you has explained some of these points in your intitial post. One of the problems with people posting is that have many things in their heads which do not appear in their posts and, generally, we have no way of knowing what anyone may have done, unless they provide such information.
So, you say you are not working on bypassing a protection system.
You say I should know the button is disabled sometime during the running of the application because you said you used Resource Hacker to check it, but MY question was not whether or not the button was disabled by the running of the program, but whether or not YOU had done research on "what code" would disable a button. If you don't know what code is capable of "deactivating" a button, it seems logical to conclude you might have difficulty finding the proper code on which to set a breakpoint.
NOW you say you spent the night doing research on WM and how to breakpoint them, but, obviously, this information is not in your original message. That was the point of the statement: "If you have researched this issue, how would we know?"
Now, since you say you are not trying to "crack" anything, and you start with a button which "was activated" and now it is "deactivated," have you asked yourself WHY they might have done this? Is this a demo version of the software? If so, the code which might make the "button" function might not actually even be in the code you have to play with. Again, I am only speculating, in the absence of information.
But your problem remains the same. You say you have a button which was initially activated and now it is deactivated and you want a breakpoint to set to see if you can catch, and impliedly, prevent this from happening.
Seems that before you can "start setting breakpoints" you need to better understand how the "control" (e.g. the "button"

can be activated and/or deactivated. Do you know what those commands are? And if you do, are those the commands you have already attempted to set breakpoints on?
Regards,