Topic Path: Symbol Reference > Classes > TReadFileExclusiveStream Class
ContentsIndexHome
PreviousUpNext
TReadFileExclusiveStream Class

Implements a file stream using a non-shared write access file sharing mode.

File
TReadFileExclusiveStream = class(TIdFileStream);

TReadFileExclusiveStream is a TIdFileStream descendant that implements a file stream using a non-shared write access file sharing mode. 

TReadFileExclusiveStream implements a constructor that accepts a file name representing the storage for reading and writing values in the file stream. TReadFileExclusiveStream assumes that the file already exists on the local file system. 

The constructor also handles creating the file stream using the appropriate file mode and file sharing mode for the stream. 

Use TReadFileNonExclusiveStream to create a file stream that uses shared file access modes for reading. 

Use TFileCreateStream to create a file stream that recreates its' local file storage. 

Use TAppendFileStream to create a file stream that appends any output to an existing local file storage.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.