Pascal Scripting: LoadStringFromLockedFile

Prototype:

function LoadStringFromLockedFile(const FileName: String; var S: AnsiString): Boolean;

Description:

Loads the specified binary or non Unicode text file into the specified string, even if the file is already opened for writing by another program. Returns True if successful, False otherwise.

See also:

LoadStringFromFile