[fpc-pascal] TInterfacedObject memory management

Paul Ishenin webpirat at mail.ru
Sun Oct 17 14:01:37 CEST 2010


  17.10.2010 21:31, Juha Manninen (gmail) wrote:
> program project1;
> {$mode objfpc}{$H+}
> uses
>    Classes;
> var
>    io: TInterfacedObject;
> begin
>    io := TInterfacedObject.Create;
> end.
Try the same but replace io type to IUnknown.

Best regards,
Paul Ishenin.



More information about the fpc-pascal mailing list