Hello ,I tried another way to avoid this problem with my software compiled with i386 and x86_64.
You can try to see what was changed in FPC compiler for dynamic arrays or you can try debug how it is handled:trunk\compiler\x86_64\cpupara.pashttp://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/compiler/x86_64/cpupara.pas?sortby=file&view=log
Well, I'll dive into this direction, thanks for the path.
is this fixed upstream too?
Well, it works, I needed to revert the NativeUInt to integer, thanks again, for your fast prompt answer.
IMO is better to mention author/or just source/link of patch, instead of writing "we" or "me". It is good practice and good karma. Anyway - enjoy, it is open source. Your choice.