Reputation: 16482
I have several classes of a thirdparty component (which I cannot modify), Now I need to access to some classes declarated in the implementation
part of that unit, The question : Is possible get rtti info for types declarated in the implementation part of a external unit?
if not is possible exist another way to access such types? I know about the scope of the units and that the implementation declarations are private and only available within a specific Unit. but maybe exist some hack.
Upvotes: 5
Views: 257
Reputation: 84650
Unfortunately, no. The RTTI generated for implementation-only classes is minimal, and probably not enough for you to perform RTTI Surgery with.
Best thing to do here is modify the source (please tell me you aren't using a library with no source available!) or if you really truly can't do that, then talk to the author.
Upvotes: 7