Delphi/꿀팁
문자열로 함수 호출하기 - 2
2018/11/14 - [ - Delphi] - 문자열로 함수 호출하기 - 1 typeTProcList = classpublicprocedure TestStringCallMethod1;function TestStringCallMethod2(s1, s2, s3 : string): Boolean;end; ...implementation usesRtti;procedure ExecMethod(MethodName:string; const Args: array of TValue);varR : TRttiContext;T : TRttiType;M : TRttiMethod;beginT := R.GetType(TProcList); for M in t.GetMethods dobeginif (m.Parent = t) and ..