On 03.03.2013 18:03, Joao Morais wrote:
Is there some compiler magic I am missing?

Nope, you don't miss anything. The only thing which *could* help you is when the new RTTI unit is implemented which contains a TVirtualMethodInterceptor which allows you to - as its name suggests - intercept all calls to virtual methods, change their parameters, swallow or raise exceptions or discard the call completely. This will only work on virtual methods however (because this constructs a special VMT on the fly) and it might still take some time until this is implemented.

Regards,
Sven

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to