OCC uses GUIDs to identify quite a bunch of things. I want to write extensions that use GUIDs too. Is there a system which GUIDs are reserved and which ranges are free for users?
Author
P.S. Joyeux Noël
Discussion
3 archived replies
Posts are displayed in their archived order.
01Commenter-1
Hi Author,
most GUIDs OCC uses are in OCAF packages. But I think if you build your GUIDs these should be unique. Take a look at wikipedia: http://en.wikipedia.org/wiki/Guid
As GUIDs uses for example the MAC addresses from network adapters you shouldn't have much problems...
Merry Xmas,
Commenter-1
02Author
Hi Patrik,
it seems, that OCC uses time based uuids sometimes simply incrementing the first block if the GUIDs are related.
and a happy new year
Author
03Commenter-1
hi,
this depends how you create them: I use GUIDGen from MS for my GUIDs - so no problem ;-)