You are not logged in.
Documentation says:
- will handle packed records, with binaries (byte, word, integer...) and
string types properties (but not with internal raw pointers, of course)
so is it mean that only packed records supported?
And the same question about RecordSaveJson - does it work with all records or packed only (documentation says nothing)?
Last edited by zed (2020-07-03 16:01:52)
Offline
In this blog-post you wrote:
It is also mandatory that you declare the record as packed.
Otherwise, you may have unexpected access violation issues, since alignement may vary, depending on local setting, and compiler revision.
So, if I will use fixed alignment {$A8} and the same compiler to Save/Load records, can I not use "packed"?
I'm asking because in my simple test it works fine without "packed". Tested on Delphi 10.3.3 (x32/x64).
Offline