Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

earl3982

how do you generate IIDs?

This topic is 5925 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

how do you generate IIDs? i could have sworn i used a program before that did it but for the life of me i cant remember what its called. i know i could make one myself but it wouldnt be random :/ thx in advance stephen

Share this post


Link to post
Share on other sites
Advertisement
guidgen.exe

>> i know i could make one myself but it wouldnt be random :/

Use CoCreateGuid.

[edited by - IndirectX on May 31, 2002 12:35:03 AM]

Share this post


Link to post
Share on other sites
I''d just I''d mention that IID''s are not in fact random. In order to ensure that IID''s are universally unique, parts of the IID are in fact based on information from hardware-devices on the computer where they were generated (MAC address of network devices, etc.)

-Neophyte

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GED d- s:+ a- C++$ UL++ P++ L++ E W+ N+ o K? w !O M--(+) V-- PS+
PE Y+ PGP t-- 5++ X+ R(+) rv+(++) b+++ DI+ D(+) G e+>++ h r--> y+
----- END GEEK CODE BLOCK-----
geekcode.com

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!