GUID values are unique and can be used to various tasks while programming. Therefore, it's appropriate that you know how to create one. Here Bill Todd of Team B shows to create it via Delphi:
FROM: Bill Todd \(TeamB\)
DATE : Thurs, Nov 25 1999 12:00 am
You can generate a GUID in code by calling CoCreateGuid as shown below. You
must add the ActiveX unit to your uses clause.
must add the ActiveX unit to your uses clause.
<Code>
procedure TForm1.Button2Click(Sender: TObject);
var
G: TGuid;
begin
CoCreateGuid(G);
end;
<\Code>
--
Bill
Bill Todd (TeamB)
(TeamB cannot respond to questions received via email)
Source:
Click here
No comments:
Post a Comment