Using TFileStream to write various values and Strings to a file I found that I can't share file between the debug and release versions of my application. Looking further it seems that enum types are not write/read the same length using TFileStream. Example : If I write to the stream something like using the debug version : fsStream->Write((void*)&FInstrumentStatus, sizeof(TInstrumentStatus)); it can't be read from the release version, and opposite is the same. Other values like Strings, int, double, float seems fine.
Since I do have many files created from the debug version, what can I do to get the release version read/write the same? Thank you, rwil