Many thanks to both of you for your input.
@Martin_fr
Good point mate. ApArray is allocated memory with (0), therefore I would expect that statements (1) and (2) are executed on available memory rather than on some arbitrary memory chunk. Given the Typ field is actually a pointer as well, I have tried to have it initialized with SetLength, just to ensure there is memory for them either, this am afraid had no impact.
Replacing the array of pointers with an Open Array, that is instead of using
ApArray: tpArrays;
// use this
AArray: ARRAY OF tStructures;
IMO this works flawlessly on all platforms even with D7. Much like by replacing GetMem with New.
In case this is a memory manager issue, have not changed the one I use on any platforms, expect this to be the std.
Have tried heaptrc on Linux and app does not work. Works with cmem though. cmem does not work on XPs.
Looks like it is not a memory manager issue.
@jamie Have followed your advice, did not work either on D7 nor on Laz over XPs
Still confused mates.
s