Re: AV when calling setlength on a dynamic array of boolean
- From: erewhon@xxxxxxxxxx (J French)
- Date: Fri, 24 Nov 2006 11:14:25 GMT
On 24 Nov 2006 01:21:33 -0800, nic@xxxxxx wrote:
<snip>
Make a copy of your App and start cutting out code.
Also turn on the bounds checking in the compiler
Thanks J - when I initialise it twice the needed size it doesn't crash.
Guess I'm going out of bounds :-)
Good stuff
Go into the compiler options and turn Range Checking On
- you'll probably find the problem in seconds
If I were you I would keep it on, always, even in release code.
The App might run fractionally slower, but I doubt if you would notice
it.
.
- References:
- Prev by Date: Re: AV when calling setlength on a dynamic array of boolean
- Next by Date: Re: DBGrid scroll bars
- Previous by thread: Re: AV when calling setlength on a dynamic array of boolean
- Index(es):
Relevant Pages
|