Page 1 of 1

Help tracking down unprotected memory issues in scripts

Posted: 11 Oct 2020, 16:24
by woodslanding
Okay, I've gone through and updated all my wkp scripts for the new syntax. There were not as many as I thought, about 25, many quite simple.

In the process, I have looked for possible issues with arrays being out of bounds, and haven't found anything yet. Found a few tstringlists that didn't get destroyed, don't know if that could have done it. (I haven't tried out the new scripts yet because of another unrelated issue I need to figure out---buttons not finding their pngs when moving between systems....)

I also don't know what other kinds of issues (if any) could cause HH to stop functioning properly. Please let me know what other issues I should be looking for.

I read a little on the topic, and found this:
http://www.delphibasics.co.uk/RTL.asp?Name=$RangeChecks

Can range checks be used in fastscripts? Is there more information somewhere about the exact version of delphi that fastscripts use?

Here is another suggestion for avoiding these kinds of issues:
http://www.tempest-sw.com/secrets/dynarray.htm

Can these be used with HH?

Any suggestions welcome. I would sure love to have HH be stable again and be able to go back to adding features.

Thanks!
-eric

Re: Help tracking down unprotected memory issues in scripts

Posted: 12 Oct 2020, 09:35
by nay-seven
Hello,
can't help about your scripts, but better use the suggestions forum ?
Senso will read them easily ;-)