|
-
August 8th, 2010, 06:55 PM
#4
Re: Ways to insert unique ID into a logging function
 Originally Posted by ahmd
So, I was wondering, is there any way to make compiler insert a unique ID for me?
Have you considered calling the API functions that generate GUID's? That is what is usually done if a unique ID for any purpose needs to be generated.
A GUID is virtually guaranteed to be unique (virtually meaning that the chance of generating duplicate GUID's is astronomically small).
Regards,
Paul McKenzie
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|