Re: [MASM32] error A2081: missing operand after unary operator
spamtrap_at_crayne.org
Date: 09/06/04
- Next message: dongmonkey1: "A question about "esp""
- Previous message: dongmonkey1: "What's the purpose of the instructions?"
- In reply to: Deli: "[MASM32] error A2081: missing operand after unary operator"
- Next in thread: aTESTER : "Re: [MASM32] error A2081: missing operand after unary operator"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 6 Sep 2004 02:30:07 +0000 (UTC)
On Sun, 5 Sep 2004 18:05:39 +0000 (UTC), "Deli" <spamtrap@crayne.org>
wrote:
>Hi,
>I don't know why I get "error A2081: missing operand after unary operator"
>in:
>(it's not a entire proc)
>
>; -------------------------------------------------------------
>ButtonControlProc proc hWin :DWORD,
> uMsg :DWORD,
> wParam :DWORD,
> lParam :DWORD
>
>LOCAL wndplcm : WINDOWPLACEMENT
>
>mov wndplcm.length, sizeof WINDOWPLACEMENT
'length' is a MASM reserved word. My copy of win.inc has 'length_'
>invoke GetWindowPlacement, hSelectWnd, addr wndplcm ; <<<!!! in this line
>
>ButtonControlProc endp
>; -------------------------------------------------------------
>
>hSelectWnd is a global variable.
>
>Thanks for any help.
-- Arargh409 at [drop the 'http://www.' from ->] http://www.arargh.com BCET Basic Compiler Page: http://www.arargh.com/basic/index.html To reply by email, remove the garbage from the reply address.
- Next message: dongmonkey1: "A question about "esp""
- Previous message: dongmonkey1: "What's the purpose of the instructions?"
- In reply to: Deli: "[MASM32] error A2081: missing operand after unary operator"
- Next in thread: aTESTER : "Re: [MASM32] error A2081: missing operand after unary operator"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]