Sign in Join
FPDoc Onlineexperiment

OpenExeFile function

In unit exeinfo

Open an executable file.

Declaration

pascal
function OpenExeFile(var e: TExeFile; const fn: shortstring): Boolean

Arguments

e

Record to be used in other calls in this unit.

fn

Name of file to be opened.

Function result

True if the file was opened successfully, false otherwise.

Description

OpenExeFile opens the executable file fn and initializes the structure e for subsequent calls to routines in the exeinfo unit.

The function returns True if the file was opened successfully, false otherwise.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.