Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2014-09

memory layout of variant arrays

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Peter Popov

Hi
recently we ported a code using 4 dimensional variant array to fpc. The code, originally in Delphi, used VarArrayLock/Unlock to get a handle on the array and write directly on iy. It turned out that the layout is not as it is in delphi, and we could not figure out what it was.

The question is: is there a standard for the memory layout of multidimensional variant arrays.

As a remark, the relevant Kylix code also had bugs.

Peter Popov

Reply by email