Board index » delphi » Getting a method's address
iuzzo...@plato.nmia.com (Mark Iuzzolino)
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Getting a method's addressIn article <31B3AEAC.2...@telepost.no>, Quote>You can get the address of a method using the address-of operator "@". but I didn't try: @proc:=...@foo.ActualProc1; That solved my problem. Quote>However, when calling it, the procedure prototype needs an extra I couldn't get the address of the method. Quote>Note: if what you want is simply parameterizing some procedure with less cpu intensive if I override the actual method called instead of using a case statement or jump table to figure out which method needs to be called. The finite state machine exists within the object, and not between two separate objects, so virtual methods would do me no good. --TCA of NewOrder |