Windows hang while reading files

Hi guys!

I made an applet, which reads the names of files in folders, checks their release date + version and puts them in a list in MFC.
The problem is that the amount of files makes Windows hang after a few files. You can't control the window or cancel it but it's still working in background.
If you wait a while it shows the requested files in the list. The problem is the
reading progress.Do you guys have any experience with these types of problems?

(sry for my poor english)

edit: to add something, it gets stuck while reading exe files. I think it got problems with the Release Date and other file infos.

thank you!

Last edited on
It should be fast enough to read just a few files. Hence you most likely have a bug. Maybe an out of bounds error. The best would be to show the code.
> it gets stuck while reading exe files.

If there is a real-time anti-malware program, it can seriously slow down the opening of large numbers of these files.
(If it is allowed to run at high priority, it can hog all the resources.)
Topic archived. No new replies allowed.