Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
AW: Zugriff auf String^ (String pointer)
16. Feb 2017, 13:37
Delphi-Quellcode:
var
NormalerString : String;
PointerString : PChar;
.
.
NormalerString := 'Hallo Welt!';
PointerString := @NormalerString[5];
ShowMessage(PointerString);
Sollte so gehen.
Michael "Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
|