Link to home
Start Free TrialLog in
Avatar of BASESLydia
BASESLydia

asked on

Can you determine a procedure's address from its name?

I am interested in using a method's name (ie MyFunc) to find its address. I know you can use CallByName to actually call the function, but I just want to get its address. I have a delegate and I want to assign it the AddressOf "MyFunc".
ASKER CERTIFIED SOLUTION
Avatar of 123654789987
123654789987

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bob Learned
What's wrong with AddressOf?

Bob
Avatar of BASESLydia
BASESLydia

ASKER

Unless I am using it wrong, AddressOf requires the function name be typed at runtime, you cannot use a string as a parameter. I would like to load the string name from a database and get the address from it at a runtime.
Aaah, yes, that one again.  Good luck!

Bob