getGuid()
function GetGUID: string; var Guid: TGUID; begin CreateGUID(Guid); Result := GUIDToString(Guid); end;
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;