Page 1 of 1

SOLVED? Error after script runs successfully (rtl270.bpl)

Posted: 20 Aug 2021 19:53
by crtrubshaw
Hi Rickard, I have a script which runs okay but after it runs I get the error "Access violation at address 0000000002EAC68B in module 'rtl270.bpl'. Read of address 0000000000000000".

I've attached the bug report files and the script.

Re: Error after script runs successfully (rtl270.bpl)

Posted: 21 Aug 2021 18:38
by Rickard Johansson
Thanks!

You should probably not use Free() on visual components. Use form.Close() instead.

Re: SOLVED? Error after script runs successfully (rtl270.bpl)

Posted: 23 Aug 2021 10:50
by crtrubshaw
Thanks Rickard! It's now working perfectly.