I need to modify pchar string at runtime. Help me with this code:
var
s:pChar;
begin
s:='123123';
s[0]:=#32; // SO HERE I HAVE EXCEPTION !!!
end.
Now i have exception in Delphi 7 ! My project is not using native pascal strings (no any windows.pas classes and others)
You can: