I need to set console cursor position; I've read about NSIS System Plug-in, tried different cases but I still have no luck with passing COORD structure to function. I'm seeking for a help, thank you.
Test Example:
What is wrong there?
; get console handle - everything is fine at that part; console attached and works
System::Call "kernel32::AttachConsole(i -1)i .r0"
StrCmp $0 0 end
System::Call "kernel32::GetStdHandle(i -11)i .r0"
; the problem is below
; create struct
System::Call "*(i 2, i 3) p.s"
Pop $8
System::Call "kernel32::SetConsoleCursorPosition(i r0, p r8)" ; first param works, but not second
System::Free $8
Regards, KR