PC Review


Reply
Thread Tools Rate Thread

Buffer overflow in FileSearch?

 
 
=?Utf-8?B?Q3Vic0Zhbg==?=
Guest
Posts: n/a
 
      15th Feb 2007
Does anyone know if there is a limit to the number of files that the
FileSearch object can return? I have a fairly large number of folders in a
directory to look through (+23,000), and then to look through the sub folders
in order to run the process. Everything works fine, sometime, until maybe on
iteration number 5500, or so, and then acts like there is no ODBC connection.
The process is looking for files of a certain criteria and returns a simple
'yes' or 'no'. The code runs fairly slow so I'm thinking of switching to a
FileSystemObject, but for now it works (codes) easy since it can
automatically search through sub-folders easily. In any case, when the code
stops plodding along (with some yes's and some no's) and then goes really
fast with nothing but no's, I know something's up, so I stop the process,
save and close the file, and tweak the code to start at the last know good
place (the last yes).

So, my question is, is there a small memory leak in FileSearch? I can post
the code here if you want, bu i wanted to just throw this out first.

Thanks.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
buffer overflow abhishekrishna Windows XP General 1 14th Jun 2010 07:24 PM
Buffer overflow Remko van Leeuwen Windows XP Drivers 0 14th Sep 2004 12:49 PM
Buffer Overflow orville Windows XP Performance 2 17th Oct 2003 07:52 AM
Buffer Overflow orville Windows XP New Users 1 17th Oct 2003 01:09 AM
Buffer overflow Stephen Windows XP General 5 17th Aug 2003 09:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:41 PM.