> What's wrong with using an abstract class ? Nothing, that's just the way I got taught and I couldn't find a way to say it was wrong until today (I never used interface previously).
> By choosing an interface, you implicitly get the reference counting on top > of things, and this seems to be what causes your error ? Yeah, I thought so. There's something different about Object Pascal's interface (I hope Delphi does the same) and Java (the one I learned in college). -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Weird-interface-behavior-tp3353651p3353727.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal