Thank you WJR for responding.
All my programs in windows 7 were written in GoAsm, none
of which had brackets around NULL. I enclosed NULL in
brackets and the error is gone.
I don't understand and have never read anything about
enclosing NULL in brackets.
Evidently there are a lot of changes from windows 7 to windows 10.
Here is a problem, with "wndclassexa".
Would someone be so kind as to give some book of where to read
about this problem or some code examples Please.
WinMain:
FRAME hInst,hPrevInst,CmdLine,CmdShow,vInst
LOCAL wc: WNDCLASSEXA ],msg,hWnd,HWND,RR:RECT
mov D[wc.cbSize],SIZEOF WNDCLASSEXA
mov D[wc.style],CS_BYTEALIGNWINDOW | CS_HREDRAW | CS_VREDRAW
mov rax,offset WndProc
mov Q[wc.lpfnWndProc],rax
mov D[wc.cbClsExtra],NULL
mov D[wc.cbWndExtra],NULL
push [hInst]
pop [wc.hInstance]
invoke LoadIcon,NULL,IDI_APPLICATION
mov Q[wc.hIcon],rax
invoke LoadCursor,NULL,IDC_ARROW
mov Q[wc.hCursor],rax
invoke CreateSolidBrush,00ffffffh ; white background
mov Q[hBrush],rax
mov Q[wc.hbrBackground],rax
mov Q[wc.lpszMenuName],NULL
mov Q[wc.lpszClassName],offset szDisplayName
mov Q[wc.hIconSm],0
invoke RegisterClassEx, addr wc