Home > Archive > Fortran > December 2006 > Fortran UUID Generator
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Fortran UUID Generator
|
|
|
| Does anyone know of a UUID generator in Fortran?
Paul Holden
| |
| Terence 2006-12-17, 7:05 pm |
| If you explained what a "UUID" generator was, you might get more
replies.
| |
|
| "Terence" wrote
> If you explained what a "UUID" generator was, you might get more replies.
If you don't know what it means, I suspect you can't give a useful answer.
If you are curious, I recommend you Google it - Wikipedia also has a good
description.
Paul Holden
| |
|
|
"Terence" <tbwright@cantv.net> wrote in message
news:1166392323.138757.203870@73g2000cwn.googlegroups.com...
> If you explained what a "UUID" generator was, you might get more
> replies.
>
Mocrosoft's 'Universal Unique ID' - the ?16? digit code that is supposed to
ensure that no two pieces of software have the same UUID, so they can always
be referenced by the UUID with no fear of confusion. I'm sure there must be
C code out there, simple enough to translate. I've never bothered; if you
need it, you're in a Microsoft Com-based world, and in that case you should
have some suitable tool to generate a UUID.
| |
|
| max wrote
>
> "Terence" <tbwright@cantv.net> wrote in message
> news:1166392323.138757.203870@73g2000cwn.googlegroups.com...
>
> Mocrosoft's 'Universal Unique ID' - the ?16? digit code that is supposed
to
> ensure that no two pieces of software have the same UUID, so they can
always
> be referenced by the UUID with no fear of confusion. I'm sure there must
be
> C code out there, simple enough to translate. I've never bothered; if you
> need it, you're in a Microsoft Com-based world, and in that case you
should
> have some suitable tool to generate a UUID.
Thanks for this Max
I'm trying to avoid the Microsoft UUID implementation (aka GUID - "G" for
Global) for the sake of portability (it isn't needed for a COM interface).
There's a Win32 API function that is easy enough to call from Win32 versions
of the software, but that's no help for other versions. I'd be happy to
interface to a C library if one exists. All I have found so far is Java and
Python implementations.
The UUID specification is actually 32 character - 128 bit.
Paul Holden
| |
| Gary Scott 2006-12-17, 10:05 pm |
| PJH wrote:
> Does anyone know of a UUID generator in Fortran?
>
> Paul Holden
>
>
Yes, I have one. On windows, you can also call uuidgen as a command
line tool and redirect the output to a file.
--
Gary Scott
mailto:garylscott@sbcglobal dot net
Fortran Library: http://www.fortranlib.com
Support the Original G95 Project: http://www.g95.org
-OR-
Support the GNU GFortran Project: http://gcc.gnu.org/fortran/index.html
Why are there two? God only knows.
In observation of the Supercomputer Conference 2006, Steve Lionel of
Intel wrote:
"What struck me, as I wandered the show floor, is that Fortran, a
fifty-year-old language considered long-dead by many, has a customer
base vibrant enough to support (at least) seven commercial vendors
offering compilers on the same platforms, plus two (why two?) competing
open source compiler projects! What other widely-adopted programming
language can say the same?"
If you want to do the impossible, don't hire an expert because he knows
it can't be done.
-- Henry Ford
| |
|
|
|
|
|