error on large directories

when listing large directories (say > 5000 files), the aplication errors with the following report (other than this, the app seens very stable; running on W2K, SP3) :

Version = 1.0.973
Build Date = 2003-02-03

Time Stamp =20030417212138
hWnd = 0x0 (0)
nMsg = 0x0 (0)
wParam = 0x0 (0)
lParam = 0x0 (0)

Window Class = ''
Window Title = ''

Exception Code = 0xC0000005 (Access Violation)
Exception Flags = 0x0 (0)
Additional Exceptions = no
Address of Exception = 0x77FCB7AE (2013050798)
Number of additional parameters = 2
Parameter[0] = 0x1 (1)
Parameter[1] = 0x1 (1)

Call Stack:

0x77fcb7ae 0x77fc96cb 0x64032a43 0x64044900