Bad RAssignString function signature
Closed this issue · 0 comments
micclly commented
Reported by TJmclovin with comment here
Thanks for fixing it! Works great! One more minor change is required though:
// assign string to variable given by name procedure RAssignString(AHandle: LongInt; AVariable: PWideChar; AValue: PChar (should also be PWideChar?)); stdcall; begin if isValid(AHandle) then TRConsole(AHandle).AssignString(WideStringToString(AVariable, CP_ACP), AValue); end;