M
microrain
Unregistered / Unconfirmed
GUEST, unregistred user!
function getChangeData(Var myValue: array of char
ArraySize: integer
strValue: string): boolean;
var
i: integer;
tmpPchar: pchar;
begin
try
SetLength(myValue, ArraySize)
// 《==== 这里出错。怎么做才能不错呀,
tmpPchar := pchar(strValue);
for i := 0 to length(myValue)-1 do
begin
myValue := tmpPchar;
end;
result := true;
except
result := False;
end;
end;