[Lazarus] Library function trashing object

Hans-Peter Diettrich DrDiettrich1 at aol.com
Fri Apr 19 21:33:07 CEST 2013


Leonardo M. Ramé schrieb:
> On 2013-04-19 21:08:29 +0200, Lubos Pintes wrote:
>> I probably don't understand. You will be able to change it, I see no
>> problem. It is a local variable which can be changed.

You're right, C++ "&" is equivalent to Pascal "var".

> Well, removing the "var" in the 2nd param, at least allowed avoid the
> SIGSEGV. I don't know why, though.

I suspect a wrong calling convention.

DoDi





More information about the Lazarus mailing list