I don't know any functions off the top of my head but my first thought was read the .pas files as plain text files and search each line of the header for 'function' and 'procedure' and then stopping when you hit 'implementation'.
Getting procedure names at runtime seems a strange thing to do, unless you writing a source documenting program.
Check out Run Time Type Information (RTTI). This allows you to interrogate published object properties at run time. If you are looking for the existence of specific routines, turn them into published properties and you are away.
Another approach is to use COM interfaces, which can also be interrogated at run time (but ask someone else how to <g>)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.