5-3-2017
Thanks for any help
Don't see why this error is occurring
GoAsm.Exe Version 0.61.0.0 - Copyright Jeremy Gordon 2001-2016 -
JG@JGnet.co.ukError!
Line 109 of assembler source file (xxxx.asm):-
Could not get size of structure/union in local data declaration:-
LOCAL wc:WNDCLASSEXA,msg:MSG,hWnd,RR:RECT
In the struct at Line 1396 of the include file winbase.h
OBJ file not made
GoLink.Exe Version 1.0.2.3 - Copyright Jeremy Gordon 2002-2016 -
JG@JGnet.co.uk----------
Winbase.h
1396 #define GetCommandLine GetCommandLineA
------
Program
.const
RECT STRUCT
left dd ?
top dd ?
right dd ?
bottom dd ?
RECT ENDS
-------
CommandLine LPSTR ?
------
107 WinMain:
108 FRAME hInst,hPrevInst,CmdLine,CmdShow
109 LOCAL wc:WNDCLASSEXA,msg:MSG,hWnd,RR:RECT
------
.code
start:
invoke GetModuleHandleA, NULL
mov Q[hInstance],rax
invoke GetCommandLine
invoke WinMain, [hInstance],NULL,[CommandLine],SW_SHOWDEFAULT
invoke ExitProcess,rax