The Visual Studio software also generates a GUID without a network card
present, but I don't know how they guarantee uniqueness (or even they can)
under that condition. A search on msdn.microsoft.com might help.
Dominique
"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:97138@palm-dev-forum...
>
> At 14:49 2002-10-2 -0500, you wrote:
> >Has anyone seen or have a suggestion on how you would create a GUID on
the
> >Palm?
> >I'm still researching it but thought I would drop the question to the
> >forum to see if anyone has already addressed doing this.
>
> It sounds like a difficult task... on PCs, the GUID generators tend to use
> the network card IDs as part of their scheme, but on the device, the only
> unique IDs are the HotSync name and the flash ID. Not all devices have a
> flash ID, and the HotSync name isn't unique across the universe of
devices.
>
> Still, maybe combining all of this along with a seed from the time and
tick
> count would give enough randomness for the 128-bits needed for a GUID. If
> you use a conduit, you might also be able to defer GUID generation until
> HotSync time, where you could do it on the PC to which the device was
syncing.
>
> --
> Ben Combee <[EMAIL PROTECTED]>
> CodeWarrior for Palm OS technical lead
> Palm OS programming help @ www.palmoswerks.com
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/