--- In [email protected], "brucexs" <[EMAIL PROTECTED]> wrote: > > I uploaded a win.dll with > sendmessagestrremote(win_hand, message, wParam, variable_name) > where the length of contents of variable name determines memory > allocated remotely.
Thanks, Bruce! > > http://powerpro.webeddie.com/download/win.dll > > Here is test sb script; note that I had to "and off" possible > bits in upper word of returned length. Also, it did not work on a > Delphi app I tried (Txxx status bar -- Delphi's implementation). It works for both of the Delphi apps I tried. It also seemed fine without appending & 0x2ff to the size and without adding 1 to the size of sbtext var. I wonder why it didn't work on your Delphi app. I didn't use win.handlefrompoint to get the handle, I used main.childhandlelist("c=TStatusBar") One of the apps had multiple handles with class of TStatusBar. Used the first word for that one. Regards, Sheri
