Win 95 and FindFirstFile, FindClose Functions - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Win 95 and FindFirstFile, FindClose Functions

Hi,

We have an application that runs on win95 and winnt.

we use FindFirstFile, FindNextFile and FindClose calls to perform directory searches.



Under WinNT, everything goes along fine, BUT only under win95, it looks like the File handles are not getting closed and we get EventID 2009 errors in the Event Log (Desc:"The server could not expand a table because the table reached the maximum size").



Can anyone please throw light on this matter.

Thanks in advance,

tester101.




Comments

  • This is just a wild stab in the dark, but are you checking to make sure you aren't searching the "." and ".." folders with FindFirstFile and FindNextFile? If you are recursivly searching through folders without ignoring the "." and ".." folders, it would more than likely freeze your program because your code would not stop recursing.



    Hope This Helps,

    Justin


Sign In or Register to comment.