[fpc-pascal] TIniFile crash/memory loss

Bart bartjunk64 at gmail.com
Sat Apr 2 10:14:39 CEST 2011


On 4/1/11, DaWorm <daworm at gmail.com> wrote:
> On Fri, Apr 1, 2011 at 9:09 AM, Bart <bartjunk64 at gmail.com> wrote:
>  It
> seems to me like a lot of effort to trap something that will rarely
> happen.

But it does happen.

I don't mind that it raises an exception in Destroy (although I find
it rather odd), but the consequences of raising the exception _in that
place_ are unacceptable IMHO: the object will not be destroyed.

Further more it's not Delphi compatible.

Bart



More information about the fpc-pascal mailing list