Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Apr : waiting for file to finish writing

www.cryer.info
Managed Newsgroup Archive

waiting for file to finish writing

Subject:waiting for file to finish writing
Posted by:"Eugene V. Goldberg" (ego..@mts-nn.ru)
Date:Tue, 29 Apr 2008 11:52:00 +0400

Hello,

I have a thread which scans the folder for incoming files and processes
them.

The files are being written by another process.

How do i wait for the file to finish writing? Do i just need to try to open
the file in exclusive mode?

Thanx,
Eugene.

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive