Sunrise
January 4th, 2004, 18:37
I'd like to be able to change a setting in an specific application without using the options dialog in which you'd normally change the setting. (I'd like to do it e.g. by sending a message to the application from my own program, or patching the code somehow or injecting a dll which calls the code or whatever)
How can I find the code that handles the processing of that setting/option (when it's set/changed through the options dialog)? And once I've found that code, how could I call and run that code? (wouldn't just simply want to change the eip would you?
)
My observations so far: I've noticed that the option that I'm aiming at is read out by sending an WM_GETTEXT to the Editbox in the options dialog (no big surprise) But I couldn't find the processing routing by bpx'ing the WM_GETTEXT and then tracing through the code. (btw: who has sent that WM_GETTEXT message? was is the options dialog or the main window?)
Any tips for finding the code which retrieves the editbox contents and handles the further processing?
Thanks
How can I find the code that handles the processing of that setting/option (when it's set/changed through the options dialog)? And once I've found that code, how could I call and run that code? (wouldn't just simply want to change the eip would you?
)My observations so far: I've noticed that the option that I'm aiming at is read out by sending an WM_GETTEXT to the Editbox in the options dialog (no big surprise) But I couldn't find the processing routing by bpx'ing the WM_GETTEXT and then tracing through the code. (btw: who has sent that WM_GETTEXT message? was is the options dialog or the main window?)
Any tips for finding the code which retrieves the editbox contents and handles the further processing?
Thanks

(the call contains large portions of code, don't even think about rewriting it! (As what you might do for e.g. a keygen)