<p>Am 20.01.2017 13:18 schrieb "fredvs" <<a href="mailto:fiens@hotmail.com">fiens@hotmail.com</a>>:<br>
><br>
> Thanks very much for answers.<br>
><br>
> @ silvioprog:<br>
><br>
> > using that function as callback with some (C/C++) library?<br>
><br>
> Yes and check its parameter calling convention is ok.</p>
<p>You shouldn't use Pascal arrays when interfacing with C/C++ code as especially dynamic arrays have a different format (though you can pass a pointer to the first array element).</p>
<p>Maybe show us how the original C function looks like.</p>
<p>Regards,<br>
Sven</p>