Description | Uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables |
TempFiles
is used to generate the names of new temporary files and to delete those files when the program closes. During initialization of TempFiles
, an application-specific temporary directory will be created if it does not already exist. If any files are in the directory and another instance of the program is not already running, the temporary directory will be cleared.
Name | Description |
---|---|
Class TTempFileStream |
Mode must be fmOpenRead, fmOpenWrite, or fmOpenReadWrite |
function TempFileName: string; |
function GetAppSpecificTempDir: string; |
procedure ZipAFile(const FileName: string; InStream: TMemoryStream); |
procedure ExtractAFile(const FileName: string; OutStream: TMemoryStream); |
procedure FreeMemory(const FileName: string); |
function MemoryUsed(out FileCount: integer): Int64; |
procedure ZipAFile(const FileName: string; InStream: TMemoryStream); |
procedure ExtractAFile(const FileName: string; OutStream: TMemoryStream); |
|
procedure FreeMemory(const FileName: string); |
function MemoryUsed(out FileCount: integer): Int64; |