Question of the day

Question of the day

Why RTTI allows to access private members of an objet and not the public (not published) properties ?!

Thanks :D

Comments

  1. Because someone modified the code via $RTTI directive? By default RTTI has access to all fields and public and published methods and properties.

    ReplyDelete
  2. I didn't notice $RTTI...i'll check my code, thanks Stefan

    my purpose is to use RTTI to register components properties in PascalScript https://github.com/remobjects/pascalscript

    ReplyDelete

Post a Comment