<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr">Am Do., 31. Jan. 2019, 17:38 hat Giuliano Colla <<a href="mailto:giuliano.colla@fastwebnet.it">giuliano.colla@fastwebnet.it</a>> geschrieben:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Il 30/01/2019 13:17, Marco van de Voort ha scritto:<br>
<br>
><br>
> Op 1/30/2019 om 11:57 AM schreef Giuliano Colla:<br>
>><br>
>> What I'm doing wrong?<br>
>><br>
> Using a C header converter or a C++ header file. & is not proper C.<br>
><br>
<br>
That is because h2pas is unable to handle it, or because fpc is unable <br>
to generate the proper code for a c++ parameter by reference<br></blockquote></div><div dir="auto"><br></div><div dir="auto">The former. For the later you'd either use var or constref. Though there'd still be the topic of name mangling... (FPC's cppdecl is not that good yet) </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div>