>>125
GetTickCountとかCryptGenRandomとかWin32APIに頼ればいいじゃない。