GUID System

Hi,

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?

Torsten

P.S. Joyeux Noël

Patrik Mueller's picture

Hi Torsten,

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,

Patrik

Torsten Sadowski's picture

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

Torsten

Patrik Mueller's picture

hi,

this depends how you create them: I use GUIDGen from MS for my GUIDs - so no problem ;-)

Happy new year,

Patrik