Jorge Aldo G. de F. Junior wrote:
the error happens even if i remove all statements in the constructor...

Constructor TRTTIObject.Create(Const aInstanceName: String);
Begin
    Inherited Create;
End;

Still gives errors... (why should a constructor call the destructor anyway ?)
If a constructor is raises an exception it calls a destructor. This is so because allocated memory needs to be freed.

Best regards,
Paul Ishenin.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to