GUID duplicate
Anybody know of a single case where two independently generated GUIDs were found to be the same?
How long will it be until these numbers run out?
you can use the Generate-GUID tool to generate unique guids.
Now, yes there IS a posibility that one already exists, BUT, you can generate, lets say 20 of them, and test each to see if they already exist, if not, they are yours
Do this at runtime, at teh beginning of your program, and you should be fine.
www.cppnow.com
Now, yes there IS a posibility that one already exists, BUT, you can generate, lets say 20 of them, and test each to see if they already exist, if not, they are yours
Do this at runtime, at teh beginning of your program, and you should be fine.
www.cppnow.com
If you let your computer run guidgen 100%, the Earth will be gone long before you get duplicate guids. Assuming you''re using the provided functions for GUID generation.
Spend your time on important things to ship your product and don''t worry about duplicate guids! (well... unless you''re doing rocket science, pacemakers or the break system to my car)
Spend your time on important things to ship your product and don''t worry about duplicate guids! (well... unless you''re doing rocket science, pacemakers or the break system to my car)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement