SWDevil wrote:
...GetTickCount...might return a negative value?
No. It returns a DWORD, that is unsigned. It wraps around after 49,7 days, though. Win95 used to crash after that uptime. Not that it was generally able to stay up that long without crash anyway. time64 returns the seconds since UTC. It wraps around somtimes in the year 3000 If you really need, you could mix in the milliseconds since startup (GetTickCount) time64 relies on the computers clock being set - tampering with the clock *could* make your UID non-unique. That may or may not be a problem.
Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
Douglas Adams, "Dirk Gently's Holistic Detective Agency"