donJ
2017-12-08 00:20:00 UTC
Hi,
I have an app that uses the Xojo random class with seeds to create
repeatable strings of pseudorandomly selected numbers. It worked fine
until I made a 64 bit version. A file saved on a 32 system bit does not
open correctly on a 64 bit system.
A little research indicates that this is due to the Random class
depending on Endianess.
So I think the simplest way to fix this is to find (or write) a random
method that does not depend on Endianess. Does one exist? Or can someone
point me to some information about it?
Thanks,
Don
To unsubscribe, email ***@xojo.com
I have an app that uses the Xojo random class with seeds to create
repeatable strings of pseudorandomly selected numbers. It worked fine
until I made a 64 bit version. A file saved on a 32 system bit does not
open correctly on a 64 bit system.
A little research indicates that this is due to the Random class
depending on Endianess.
So I think the simplest way to fix this is to find (or write) a random
method that does not depend on Endianess. Does one exist? Or can someone
point me to some information about it?
Thanks,
Don
To unsubscribe, email ***@xojo.com