Hi Dennis,

There is something strange:
Indeed, when I look at the generated UUID in 4D the 15th hex digit is always 4
But, as far as I know the docs say : "set the four most significant bits of the 
7th byte to 0100'B, so the high nibble is 4"
This means that the 13th hex digit must be 4

And in fact, my 4D generated UUID is rejected by the web service, saying it 
isn't a 4 version UUID

Has this something to do with byte swapping or something? What should I do?
This has been tested with 4D v16R6 on a 64-bit Windows laptop

Gr,

Piotr

> -----Oorspronkelijk bericht-----
> Van: Dennis, Neil <neil.den...@umb.com>
> Verzonden: donderdag 5 juli 2018 17:06
> Aan: 4D iNug Technical <4d_tech@lists.4d.com>
> CC: Piotr Chabot Stadhouders <p.stadhoud...@timeff.com>
> Onderwerp: RE: UUID version 4 needed
> 
> > Does anybody know how to generate an UUID version 4
> 
> Doesn't 4D already generate version 4 UUIDs? In version 4 the 15th hex digit 
> is
> always a 4, it seems that this is what 4D uses.
> 
> If you need a good explanation, of the various types, wikipedia works
> https://en.wikipedia.org/wiki/Universally_unique_identifier
> 
> Neil
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Privacy Disclaimer: This message contains confidential information and is
> intended only for the named addressee. If you are not the named addressee
> you should not disseminate, distribute or copy this email. Please delete this
> email from your system and notify the sender immediately by replying to this
> email.  If you are not the intended recipient you are notified that 
> disclosing,
> copying, distributing or taking any action in reliance on the contents of this
> information is strictly prohibited.
> 
> The Alternative Investments division of UMB Fund Services provides a full 
> range
> of services to hedge funds, funds of funds and private equity funds.  Any tax
> advice in this communication is not intended to be used, and cannot be used, 
> by
> a client or any other person or entity for the purpose of (a) avoiding 
> penalties
> that may be imposed on any taxpayer or (b) promoting, marketing, or
> recommending to another party any matter addressed herein.
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to