Log in

View Full Version : some problems about latest version of winace


NikDH
January 3rd, 2001, 19:10
Hi to all
I'm under win2k and I'm working on latest version of winace
It gives me some problem coz i cant get the api it uses to get the name from serial edit
So I moved on win98 and made bpx hmemcpy and it seemd to work but when i bpm on that address i cant find where the prog processes the serial
There r a lot of functions which copies that serial in various zone of mem but it seems to never work on them
Quite strange
See ya
NikDH

tsehp
January 4th, 2001, 08:01
hi,
you named the problem yourself
the serial is on an edit control ? do a hwnd on softice and locate this
edit, you'll get an handle to it, then do a bmsg <handle> wm_command,
this will trigger the wm_command sent to this window, then you have to trace the message loop to find where this edit is processed, this is long to do but will surely lead you to the api concerned.
a msg loop usually contains getmessage and then processes the message using the UINT msgId wparam and Lparam, look for m$ docs for this and search on this site for essays with words : hwnd , getmessage or sendmessage or postmessage.
regards

NikDH
January 4th, 2001, 09:10
Already tried it
I tried with
bmsg hwnd_edit wm_gettext
but under win2k it never pops
Why?
R there any other msgs used by win to get the text from an edit box?