I was making simple calculator for practice. But then i got idea to add WM_MOVING handler in it. The idea was making program magnet to desktop walls (like WinAmp). So i coded to in C to get it work, but now i have problem to convert to asm, so i can merge in it my prog.

Actually line that i don't get it is:
RECT *pRect = (LPRECT) *lParam;

Msg include C source code to see general working.
Posted on 2001-12-14 11:57:35 by Torak

i'm not sure but i think you can do something like that :

mov eax, ; mov eax,lParam
assume eax:PTR RECT

; your code .... .right-.left ...

assume eax:NOTHING

Posted on 2001-12-14 19:50:23 by eko