[Lazarus] EXC_BAD_ACCESS, Could not access memory

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Apr 28 00:09:58 CEST 2009


Bart schrieb:

> I'm not even sure that Extended has the same size on all platforms.

What size might it have, other than the FPU defined size?


> If you need to read those records, created with Delphi/Kylix now on
> MacOS and you cannot solve how to declare your record, you could as a
> last resort read x bytes (where x is the size of the delphi record on
> disk) and translate theis sequence of bytes to the values you want.

If nothing else helps, it should be sufficient to use packed records 
with inserted dummy fields for the original record layout.

DoDi




More information about the Lazarus mailing list