歡迎光臨 隨楓玉雨的個人網站

上海快三专业回血导师:Delphi生成GUID的例子

上海快三开奖一定牛一定牛 www.robepr.com.cn

unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ActiveX, StdCtrls;
type
TForm1 = class(TForm)
btn1: TButton;
mmo1: TMemo;
lbl1: TLabel;
procedure btn1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;



var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.btn1Click(Sender: TObject);
var
I : Integer;
sGUID : string;
TmpGUID: TGUID;
begin
mmo1.Text:='' ;
for I := 0 to 9 do
begin
if CoCreateGUID(TmpGUID) = S_OK then
sGUID := GUIDToString(TmpGUID)
else
mmo1.Text:='Create GUID error!';
mmo1.Text:=mmo1.Text+sguid ;
end;
end;
end.

QQ號碼免費申請,申請QQ號免費,免費申請QQ號,QQ版本更新官方網站

關于我們加入我們