Can we use RTTI to find functions/procedures by name and run them?

As we can find a Property or an Object using RTTI , can we search for a certain function or procedure (not from an object as a method but from an unit ) loaded in memory knowing just it's name?

And if we can, is it possible to execute it sending it's parameters?


Delphi's RTTI system is based around types. However, procedures and functions with unit scope are not associated with types and so cannot be reached using RTTI.

链接地址: http://www.djcxy.com/p/73258.html

上一篇: Asp.Net Mvc复选框列表

下一篇: 我们可以使用RTTI按名称查找函数/过程并运行它们吗?