Subject Re: [IBO] Help! Simple routine keeps giving Invalid Pointer on close
Author Andreas Hesse
Better replace it with

for i:=0 to High(IrrelevantFolderArray) do

So you avoid using hardcoded arry lengths for dynamic arrays.

> Thank YOU!
>
> That's what happens when you've been up all night for a couple nights in
> a row.
>
> That fixed it.
>
> Chuck
>> Chuck,
>>
>> I haven't read all your code, but this looks wrong. You set length to 9, and loop 1o times.
>>
>> SetLength(IrrelevantFolderArray, 9 );
>> //fill the array
>> for i := 0 to 9 do
>>
>>