managed types are not allowed in objc objects. as FPC doesn't manage them there (yet).<br><br>On Saturday, June 15, 2019, AlexeyT via lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://github.com/graemeg/lazarus/commit/4a95f3638a6ec38e6c975164b52c9f6d54c7ad10" target="_blank">https://github.com/graemeg/laz<wbr>arus/commit/4a95f3638a6ec38e6c<wbr>975164b52c9f6d54c7ad10</a><br>
<br>
orderArray. Better make its type "array of TWinOrderLevel" and set its size as SetLength(orderArray, N), and SetLength(orderArray, 0) to free. This is better practice, more pascalish way to allocate array.<br>
<br>
-- <br>
Regards,<br>
Alexey<br>
<br>
-- <br>
______________________________<wbr>_________________<br>
lazarus mailing list<br>
<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a><br>
<a href="https://lists.lazarus-ide.org/listinfo/lazarus" target="_blank">https://lists.lazarus-ide.org/<wbr>listinfo/lazarus</a><br>
</blockquote>