Re: File is in use
- From: "Erwien Saputra" <erwien@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: 21 Jun 2005 21:58:27 -0700
Peter Morris [Droopy eyes software] wrote:
>
> Has anyone else experienced this? If so do you have a solution?
1. Check for the file before trying to write it. If the file is
locked, generate another file name.
2. Lock the file all the time.
Usually I do not recommend locking the file all the time, but since
your routine gets called alot, probably it is a solution.
Wien.
--
http://blogs.slcdug.org/esaputra
Delphi Setting Manager - http://www.codeline.net
.
- References:
- File is in use
- From: Peter Morris [Droopy eyes software]
- File is in use
- Prev by Date: Re: Stunning interview with Danny Thorpe
- Next by Date: Re: Company concered with "One-man-band".
- Previous by thread: Re: File is in use
- Next by thread: Re: File is in use
- Index(es):
Relevant Pages
|