生成GUID

uses Comobj;

function GetGUID:string;
var
g:tguid;
begin
olecheck(createguid(g));
Result:=guidtostring(g);
end;

posted @ 2008-07-20 22:05  流星无语  阅读(117)  评论(0)    收藏  举报