TInterfacedObject incompatibility?
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
There seems to be a incompatibility problem with the implementation of TInterfacedObject. Please take a look at the included sample aplication to see the details.
To make sure I've tested it with the fpc compiler from 13.04.2005 and Delphi 7 Personal/Proffessionall and under Delphi it works well.
Please note, that this is not the standard way interfaces are supposed to work, but it might help to use the interfaces a little bit more like under the DotNet framework where acquiring a pointer to an interface from a class and then setting it to nil does NOT automatically dispose the instance.
Best regards,
Matthias (matthias@hryniszak.de)
Additional information:
Reporter: Matthias Hryniszak
EMail: matthias at hryniszak dot de
Mantis conversion info:
- Mantis ID: 5852
- OS: Win32
- Version: 1.9.9