17.03.2015 11:54, liviusliv...@poczta.onet.pl wrote: >>> After re-reading docs > >>> http://docwiki.embarcadero.com/RADStudio/XE6/en/Internal_Data_Formats#Record_Types > >>> i'd say you should not use nor special(explicit) alignment nor packed >>> records. Just ensure you have {$A+} when record type is declared and >>> you use record members with data types of correct size each. > >>> Sorry, i have no Delphi right now to check by myself > >>> Regards, >>> Vlad > > Thank you Vlad but this is default settings > I tried this before (setting explicitly) > look at my answer to Dimitry Sibiryakov how this look in bytes
I'm sorry, but that answer is totally unclear for me. I see no record declaration there, i see no compiler directive is active when record is declared, i don't know what values was (should be) assigned to what record member to compare it with memory dump. Could you show us record declaration (with explicit {$A+} specified) and offsets of each record member ? Regards, Vlad ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel