> -----Original Message-----
> From: Aaron Scott-Boddendijk [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, April 09, 1999 2:34 PM
> To:   Multiple recipients of list delphi
> Subject:      Re: [DUG]:  Interface Usage
> >> I have a question regarding the use of interfaces.  if I have 2
> interfaces

> >>  (B) how do you generate a unique GUID
> >In Delphi IDE, CTRL-SHIFT-G.
> Do these number shave to be unique across machines. IE if I use the
> application
> on another machine with the GUID already used will things get messy...
        They already are (in theory at least) they are 128bit numbers based
on the MAC address of the network card (or synthesised machine information,
which sometimes tries to get the device ID of your modem!) the date and time
of generation, and a random number to deal with the limitations of the
system clock. At the moment you can be fairly certain they're unique.
        -  Andrew Cooke.    
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to