Hi Hutch,
I didn't knew the Relative Addressing notation and this is why I was not able to specify the LARGEADDRESSAWARE option. With thanks to TWell, the problem is solved easily. I managed to move the strings in the .data section to the stack to avoid the Relative Addressing but this is not a practical solution :
.model flat,fastcall
include SimpleWnd.inc
.code
start PROC PARMAREA=4*QWORD
LOCAL hInstance:QWORD
LOCAL CommandLine:QWORD
invoke GetModuleHandleA,NULL
mov hInstance,rax
invoke GetCommandLineA
mov CommandLine,rax
mov rax,'ssalCdW'
push rax
mov rax,'wodniW'
push rax
lea rax,[rsp+8] ; the hPrevInst parameter used to store
; the pointers to the strings in the stack
invoke WinMain,hInstance,rax,CommandLine,SW_SHOWDEFAULT
add rsp,2*8
invoke ExitProcess,rax
.
.
.
start ENDP
Attached is this version of the code.