That thing it is called file "share aware" or something like that.
I've worked with a component in the past that was able to do that. Maybe 
you should look to it TDiskIO v.2.0*

*http://homepages.borland.com/torry/diskaccess.htm












Moore, Chris ( BIUK ) wrote:
> Hello List,
>
> I want to write an applet that reads a text log file generated by a
> third party application (TPA).
>
> The TPA keeps the file open for writing all the time it is running.  It
> is possible for me to open the log file in notepad and read all the
> entries up untill I opened the file.  Pressing F5 refreshes the file in
> notepad and I can then read any new lines that have been added.
>
> I'm guessing notepad is using some kind of file copy & read technique
> (that's why it's not real time).  
>
> If I try to open or copy the file in Delphi, not unsurprisingly I get a
> "used by another process" error. 
>
> What can I use to copy/open the file?
>
> Cheers - Chris
>
>
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi
>
>   
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to