'guid'에 해당되는 글 1건

  1. 2012.10.23 GUID 생성

GUID 생성

APP 2012. 10. 23. 20:05 |
 
uses
  ComObj, ActiveX;

function CreateGuid: string;
var
  ID: TGUID;
begin
  Result := '';
  if CoCreateGuid(ID) = S_OK then
    Result := GUIDToString(ID);
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
  Edit1.Text := CreateGuid;
end;


Posted by ezmind
: