[Lazarus] Library function trashing object
Lubos Pintes
pintes at gmail.com
Fri Apr 19 21:08:29 CEST 2013
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.
Dňa 19. 4. 2013 20:55 Leonardo M. Ramé wrote / napísal(a):
> On 2013-04-19 20:52:04 +0200, Lubos Pintes wrote:
>> I think you could not declare the second parameter of GetData as var
>> parameter. Because it is then treated as address.
>> I am not sure what corresponds to C++ unsigned long, perhaps LongWord?
>> So try to change the second parameter so that it is not a var parameter.
>> Dňa 19. 4. 2013 19:18 Leonardo M. Ramé wrote / napísal(a):
> But I need the 2nd param to be changed by the function, that's why I
> declare it as var.
>
More information about the Lazarus
mailing list