如果我为64位Windows编译,我的Byte-Arrays没有正确的输入值.如果我为x32-Windows编译此过程,则值是正确的.
谁能帮我?
procedure doAnything(AText: String); //for example "<xml><s name="hello"/></xml>"
var
myArray:array of Byte absolute AText;
begin
... (* myArray for x32: correct Length and Values (60, 0, 120, 0, 109, 0, ...) *)
... (* myArray for x64: Length: 2 (60, 0) *)
end
Run Code Online (Sandbox Code Playgroud)