How do you manipulate GUID's when doing Windows programming in C or C++?
Thanks to Rich B for fixing my "faux pas" and moving my reply to my own question out of the question itself and into a standalone answer.
How do you manipulate GUID's when doing Windows programming in C or C++?
Thanks to Rich B for fixing my "faux pas" and moving my reply to my own question out of the question itself and into a standalone answer.
Under Win32 if you want to manipulate GUID's you can use the UuidXXX() Network/RPC functions:
UuidCompare()
UuidCreate()
UuidCreateNil()
UuidCreateSequential()
UuidEqual()
UuidFromString()
UuidHash()
UuidIsNil()
UuidToString()
I use boost::uuid : http://www.boost.org/doc/libs/1_43_0/libs/uuid/index.html That way it is guaranteed to still work if I port my application on another plaftorm.