Matt Emson wrote:
The reason I would like this is, there are timesone would
want to create GUIDs based on self supplied MAC numbers.
Except, this is not how GUID's are generated under Windows anymore.
Microsoft bowed to preassure and now use a completely random key generation
technique. This wa
> The reason I would like this is, there are timesone would
> want to create GUIDs based on self supplied MAC numbers.
Except, this is not how GUID's are generated under Windows anymore.
Microsoft bowed to preassure and now use a completely random key generation
technique. This was because a reac
Michael Van Canneyt wrote:
On Sat, 21 May 2005, listmember wrote:
Michael Van Canneyt wrote:
It's in SubVersion. 2 demo units are in packages/extra/uuid, with
testprograms.
http://svn.freepascal.org/svn/fpc/trunk/packages/extra/uuid/
It looks OK to me, except that it may be a little more
> On BSD, /dev/urandom is used to generate a random GUID
No, that was my first hunch, but it turned out to be a single
kernel call. (FreeBSD 5.x+)
> on all other platforms, the system unit random() function
> is used.
This is FreeBSD4 inclusive.
__
On Sat, 21 May 2005, listmember wrote:
> Michael Van Canneyt wrote:
>
> > It's in SubVersion. 2 demo units are in packages/extra/uuid, with
> > testprograms.
>
> http://svn.freepascal.org/svn/fpc/trunk/packages/extra/uuid/
>
> It looks OK to me, except that it may be a little more optimized
>
Florian Klaempfl wrote:
A couple of questions, wrt FPC v2.x:
-- Is Int64 supported in all platforms?
Yes.
-- Is there a Int128 or something like it?
When Windows was 32bit, Delphi had Int64; it's only natural
that now we should have Int128 :-)
Well, not at all. Int64 has it's purposes
listmember wrote:
> Michael Van Canneyt wrote:
>
>> It's in SubVersion. 2 demo units are in packages/extra/uuid, with
>> testprograms.
>
>
> http://svn.freepascal.org/svn/fpc/trunk/packages/extra/uuid/
>
> It looks OK to me, except that it may be a little more optimized
> for speed since GUIDs
Michael Van Canneyt wrote:
It's in SubVersion.
2 demo units are in packages/extra/uuid, with testprograms.
http://svn.freepascal.org/svn/fpc/trunk/packages/extra/uuid/
It looks OK to me, except that it may be a little more optimized
for speed since GUIDs are CPU-expensive to begin with.
A co
On Sat, 21 May 2005, Michael Van Canneyt wrote:
>
>
> On Sat, 21 May 2005, listmember wrote:
>
> > Michael Van Canneyt wrote:
> >
> > Hi Michael,
> >
> > > > I mean the whole code for CreateGUID() --one that does not
> > > > use OS's GUID stuff.
> > >
> > > See Subversion, SysUtils unit, m
On Sat, 21 May 2005, listmember wrote:
> Michael Van Canneyt wrote:
>
> Hi Michael,
>
> > > I mean the whole code for CreateGUID() --one that does not
> > > use OS's GUID stuff.
> >
> > See Subversion, SysUtils unit, more specific uuid.pp in the
> > rtl/unix dir.
>
> Thank you for the pointe
10 matches
Mail list logo