function GetGUID: string;
var
LTep: TGUID;
begin
CreateGUID(LTep);
Result := GUIDToString(LTep);
Result := StringReplace(Result,‘}‘,‘‘,[rfReplaceAll]);
Result := StringReplace(Result,‘{‘,‘‘,[rfReplaceAll]);
Result := StringReplace(Result,‘-‘,‘‘,[rfReplaceAll]);
end;
时间: 2024-11-05 05:45:14