[Lazarus] EXC_BAD_ACCESS, Could not access memory

Bart bartjunk64 at gmail.com
Mon Apr 27 18:12:55 CEST 2009


I'm not even sure that Extended has the same size on all platforms.
I might of course be horribly wrong about this ;-)
But if not, it might complicate things.

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.

It's just one of those things with proprietary formats and cross-platform usage.

Bart



More information about the Lazarus mailing list