Hello,
poasm has beautiful 64bit support for win programming & I really like it.
but here is a little problem
I want to save winproc parameters for later use.
WinProc PROC hWin:QWORD, uMsg:QWORD, wParam:QWORD, lParam:QWORD PARMAREA=4*QWORD
mov hWin, rcx
...
; mov instruction will assemble to this :/
mov rcx, rcx
; of course it will do no good
From one point of view I understand why it happens (because no stack frame is created)
but from other .. referencing winproc parameters by their names I should reference stack instead. ([rsp+..])
A quick workaround would be:
WinProc PROC hWin:QWORD, uMsg:QWORD, wParam:QWORD, lParam:QWORD PARMAREA=4*QWORD
LOCAL hWin_:QWORD
mov hWin_, rcx
But here I declare additional stack variable..instead of using reserved stack space for those parameters..
Also I want to ask if using "/LARGEADDRESSAWARE:NO" switch is a bad manner of programming 64bit apps,
will I be missing some essential 64bit features ?