Call a non class function with RTTI

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

Call a non class function with RTTI

Postby Ahmed Sayed » Wed Feb 20, 2019 8:58 am

Hi, is it possible to call a unit function not a function that belongs to a class from rtti?
In TRttiMethod.Invoke I have to set the instance parameter is there another mechanism that can allow me to invoke functions like: Today, Now, Date, ReplaceStr, SplitString but with rtti or by their name?

Any help will be appreciated
Thanks in advance
Ahmed Sayed
Active Poster
Active Poster
 
Posts: 21
Joined: Thu Nov 08, 2018 4:12 pm

Return to Technical

Who is online

Users browsing this forum: No registered users and 24 guests

cron