Does anyone know of a free library for Delphi 2009 and below that allows you to invoke methods dynamically?
I have started writing my own code for this but I have the feeling that it is beyond me.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your question is rather vague. Besides late-binding and scripting, it can mean using a method which name you do not know until runtime.
This falls in two categories, COM methods (using variant types) or Delphi methods being found and called using RTTI. Although RTTI has changed in the latest Delphi versions, I think that http://www.blong.com/Conferences/BorConUK98/DelphiRTTI/CB140.htm would apply to D2009