I need to explore at run time declarations in the interface section of units to detect declared classes (with their fields, properties and methods), as well as global variables and regular procedures / functions. I think a way to achieve this is to use the RTTI information. It seems to me that this is possible in the latest versions of Delphi. Can I do the same with Freepascal? Thanks in advance.