Hi, In Delphi, there exists: TObject Class Function UnitName, which allows you to get the Unit of a given class. This seems not to be implemented in FreePascal.
If there a similar function available in FreePascal? (I am sure there is some way to do this using the VMT.) Alternatively, is there an easy way to just return the name of the current unit? Thank you, Noah Silva
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal