Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

FindAllFiles(..., CANCEL) is very slow

1 reply to this topic


  • Members
  • 1 posts

Posted 04 February 2005 - 10:50

FindAllFiles(..., CANCEL) is very slow if the directory is the root directory of a disk drive.

For example,
nResult = FindAllFiles("C:\\" , "*.*" , szResult, CONTINUE);

This statement takes about 2 minutes or more when it starts to find files in the subdirectories. (The performance is OK when finding files in C:\*.*)

The same program did not stall in InstallShield Professional 5.1 (actually I am upgrading a project from InstallShield Professional 5.1 to InstallShield DevStudio 9)

Is it a known issue?

Edited by jesse_cheng, 04 February 2005 - 10:51.


  • Full Members
  • 77 posts

Posted 23 February 2005 - 20:41

Your example is looking for/at every file on the drive c:...The more files that exist on that drive, the longer it will take. If you try that over a network connection, it will take even longer. Is it a bug?...No...

Try to narrow your search to just the folder and just the files you need to find.