Invoke Method RTTI

How can I invoke a method that has parameters, via RTTI in webcore?

Could you please provide an example, in my case I need to pass the name of a form in a string and find the class and invoke a method that has 3 parameters?

To make it useful for many people, we covered this in a new blog post

To what level could obfuscation be somehow compromised when the code uses RTTI ?

If such method is ONLY called via RTTI, the pas2js optimizer won't see this and will leave out this code.

1 Like