[fpc-devel] I get duplicate GUIDs under Linux
Graeme Geldenhuys
graemeg.lists at gmail.com
Thu May 29 13:46:50 CEST 2008
2008/5/29 Michael Van Canneyt <michael at freepascal.org>:
> The default implementation on Linux uses a random() call to generate a
> guid, combined with a timestamp, if I recall correctly.
> You can use the kernel mechanism by inluding libuuid in your uses clause.
> That should ensure uniqueness.
Yup, that works fine, but like Marco said... The underlying problem
still persists.
Thanks for the workaround though.
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the fpc-devel
mailing list