DelphiFAQ Home Search:
General :: Windows :: Programming :: Windows with Delphi :: Windows Filesystem
File related questions and answers. File operations, attributes, system dialogs, hard disk handling.


This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Only the 40 most recently viewed articles are shown.
You can see the full list here.

Featured Article

What is FindClose good for? (FindFirst/ FindNext..)

(This applies only to Windows 95/ Windows NT)

Every time the function FindFirst is called, a Windows handle is requested.
If you do not release this handle using FindClose, you may end up having
spent all handles and you cannot access directories anymore.

A known behavior of NT: Calling FindClose after an UNsuccessful FindFirst can hang the system.
Only call FindClose if FindFirst was successful.

Generated 8:01:47 on Nov 22, 2019