[fpc-pascal] Invoking methods through rtti

Sven Barth pascaldragon at googlemail.com
Mon May 9 17:36:43 CEST 2016


Am 09.05.2016 17:23 schrieb "Mazo Winst" <mazofeifer at 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.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160509/0f2ca19d/attachment.html>


More information about the fpc-pascal mailing list