"ErikArner" <erik_arner (AT) hotmail (DOT) com> writes:
Quote:
Is there a way to convert data produced on the 64 bit machine with the
64 bit version into data that can be used by the 32 bit version on the
32 bit platform? |
Data is solely your responsibility. As it were if you were implementing
networking between a 32 bit and a 64 bit machine. Proceed in the same
way: standarize on a format for the external representation, and
write conversion code of that representation into native format.
External representations can be chosen in a variety of ways.
I think the most modern one is XML, if you don't care much
about conversion efficiency. The lazy approach is to use
the 32-bit struct format, and write a single (bothway)
conversion function, used solely on the 64-bit system.
As far as I know, none of this is "automatic", i.e. you have to
write the correct code before you ->put, and after you ->get,
from the database.
Of course, suitable modularization and/or class structure can hide
all conversions under the rug.
Quote:
Or is there a painless way to tweak the 64 bit version so that it
produces data compatible with a 32 bit platform? |
If your data is any kind of structured thing: no.
best regards
Patrick