Registriert seit: 11. Okt 2003
Ort: Elbflorenz
44.316 Beiträge
Delphi 12 Athens
|
AW: Re: Move() error
25. Sep 2011, 18:04
2 * DWORD = 8 Byte
and not 5 * PByte
.
Delphi-Quellcode:
var
MyData : array [0..7] of Byte;
Delphi-Quellcode:
var
TMyTyp = array [0..7] of Byte;
TMyPtr = ^TMyTyp;
But why Move, and not directly?
Delphi-Quellcode:
var
Ptr: array [0..1] of DWORD;
Ptr[0] := Len;
Ptr[1] := Len;
Ein Therapeut entspricht 1024 Gigapeut.
|