Hi,
when using arrays in C the layout of arrays is sort of flat, since pointer arithmetics for accessing values works (e.g. "pointer += 4" for 32 bit values).
Is this the same for pascal/fpc? Do values of for example an integer array sit in memory at 4 Byte boundaries?
I need to hand over arrays to a C library and have no influence on how access is done internally (still und investigation). Currently the C lib reads garbage from my array ...
TIA,
Marc
