[fpc-devel] I get duplicate GUIDs under Linux

Daniël Mantione daniel.mantione at freepascal.org
Mon Jun 2 10:52:58 CEST 2008

Op Mon, 2 Jun 2008, schreef Florian Klaempfl:

>> all, if you use Random(), you want something random, yet many
>> developers make the common mistakes of not calling Randomize() or
>> calling it to often.  If FPC handled that for us, nobody would every
>> make those mistakes again!
> People might want to start with a defined randseed to reproduce behaviour.

This implies createguid should not call randomize automatically either, it 
prevents you having deterministic behaviour, especially in a program where 
guids and normal use of the randomizer are combined.


More information about the fpc-devel mailing list