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;
相关文章
- 03-22getGuid()