Sorry for the typos. Here is a more correct form :-) Can anyone let me have a snippet of (or pointers to) code that generates GUIDs. I mean the whole code for CreateGUID() --one that does not use OS's GUID stuff. Cheers, Ray