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

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.