I need to read a string with fix size and compare it:
I have no idea how to terminate my $R4. In C I just would do something like $R4[8]='\0'; But, with NSIS? Does anybody know?!define SameText "SameText"
!define SameTextSize 9
System::Alloc ${SameTextSize}
System::Call "MyDll::ReadMem(.r14, ${SameTextSize}-1) .r13"
StrCmp $R3 0 CallFailed
; -->> Terminate $R4 with '\0', BUT HOW?
StrCmp $R4 "${SameText}" 0 WrongData
Claus