I recall having the same problems in WinXP with rand(), the c equivalent. I used then a different API, iinm this one https://msdn.microsoft.com/en-us/library/bb982398.aspx
I recall having the same problems in WinXP with rand(), the c equivalent. I used then a different API, iinm this one https://msdn.microsoft.com/en-us/library/bb982398.aspx