Em segunda-feira, 9 de maio de 2016, Sven Barth <pascaldra...@googlemail.com>
escreveu:
> Am 09.05.2016 17:23 schrieb "Mazo Winst" <mazofei...@gmail.com>:
>>
>> Is there any way to invoke a method passing parameters through rtti?
>
> As long as you know the signature of the method you can cast the pointer
to the method to an approbiate method variable and call that. For dynamic
calls you'll need to wait for Invoke() support which is on the ToDo list,
but there's no ETA yet.
>

In my use case,the name of the method are determined at runtime.

Best regards
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to