User Tools

Site Tools


Table of Contents

CheckFileWriteAccessEx method

DK11 for Delphi | GisInternals.CheckFileWriteAccessEx | Enums | Fields | Methods | Types

Check if file can be written: directory is proper,file is not read-only and is not used by any other application.


// Delphi
function CheckFileWriteAccessEx(
  const _path : String;
  const _plain : Boolean;
  const _backup : Boolean;
  const _temp : Boolean
) : Boolean;
// C++ Builder
extern DELPHI_PACKAGE bool CheckFileWriteAccessEx(
  const UnicodeString _path,
  const bool _plain,
  const bool _backup,
  const bool _temp


Name Type Description
_path String path to be checked
_plain Boolean if true then only plain file path will be checked
_backup Boolean if true then backup file (*.~*) will be checked
_temp Boolean if true then temporary (*.*~tmp) will be checked


Type Description
Boolean True if file can be written.
2019/06/26 01:06

Page Tools