Welcome to %s forums

BrainModular Users Forum

Login Register

Help tracking down unprotected memory issues in scripts

I need help on a Patch
Post Reply
woodslanding
Member
Posts: 1327
Contact:

Help tracking down unprotected memory issues in scripts

Unread post by woodslanding » 11 Oct 2020, 16:24

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
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 12 Oct 2020, 09:35

Hello,
can't help about your scripts, but better use the suggestions forum ?
Senso will read them easily ;-)

Post Reply

Who is online

Users browsing this forum: No registered users and 112 guests