Is FindFirst,FindNext & FindClose Thread safe in delphi ? If not what should be used in there place ?
FindFirst, FindNext & FindClose use API calls and they are Thread safe. Every thread must use its own API handle for file access.
If you don't use a shared TSearchRec variable the routines are thread safe.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With