--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en
GUI - GUID. Not quite the same. In fact 25% of the word :-)
Sent from my BlackBerry®
powered by Sinyal Kuat INDOSAT
If it is a guid, this article shows how to use an API call to generate a guid. It is easy enough to incorporate this into MapBasic.
http://support.microsoft.com/kb/176790
I have to do the same at some point soon, but am not going to get to it today. I will do something with it if nobody else can help.
Rob.
From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On Behalf Of zer...@gmail.com
Sent: Friday, 12 August 2011 7:46 AM
To: MapInfo-L
Subject: Re: [MI-L] How to make a GUID?
The truth is, I almost confused when Bill answered GUID with "Dialog", does it even had been mentioned (GUID) in help files? I re-opened, then guess what? None..
So I just wait for the one who asked to comment, instead the person asking the question Uffe give his comment. That makes me more lost. GUI - GUID?
I thought GUID was referring to "Globally Unique Identifier". Now the war of words has begin.
So Peter, what are you asking about? a User Interface or a Unique Identifier?
Happy fasting (for those who are celebrating)..
Regards,
Zery
Sent from my BlackBerry®
powered by Sinyal Kuat INDOSAT
From: Bill Thoen <bth...@gisnet.com>
Sender: mapi...@googlegroups.com
Date: Thu, 11 Aug 2011 14:54:03 -0600
To: <mapi...@googlegroups.com>
ReplyTo: mapi...@googlegroups.com
Subject: Re: [MI-L] How to make a GUID?
On 8/11/2011 9:53 AM, Uffe Kousgaard wrote:
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en
The truth is, I almost confused when Bill answered GUID with "Dialog", does it even had been mentioned (GUID) in help files? I re-opened, then guess what? None..
So I just wait for the one who asked to comment, instead the person asking the question Uffe give his comment. That makes me more lost. GUI - GUID?
I thought GUID was referring to "Globally Unique Identifier". Now the war of words has begin.
- Bill Thoen
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en
I have some code that calls the Windows API functions for generating GUIDs and converting them to strings. If I’m not inundated Tuesday when I get back, I’ll post it (Although a gentle reminder would be appreciated).
Spencer
I had missed your answer, and had gone done adapting an API function, with
no success. Will use your code to do it instead.
Rob.
-----Original Message-----
From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On
Hi Bill
Peter
--
Hi Bill, It sounds as if the random number generator simply reads the system clock, which isn't updated every fraction of a msec.
I created an external DLL a long time ago with a better generator and examples of how it looks when you are using either the built-in or the better one in the DLL: http://www.routeware.dk/download/randompoints.zip
I created an external DLL a long time ago with a better generator and examples of how it looks when you are using either the built-in or the better one in the DLL: http://www.routeware.dk/download/randompoints.zip

I’ve been wondering what people have against the Windows API’s CreateGUID function, but It looks like this thread has moved off the topic of creating GUIDs and on to random number generators.
Which is funny because I’ve just been leafing through the old programming chestnut “Numerical Recipes in C++”, which has a chapter on different random number generators to meet different requirements.
MapInfo’s random number generator is probably just the operating system’s generator or some similar linear congruence generator derived from Knuth, which the “Numerical Recipes” authors characterize as “usually botched”.
Spencer
--