Unit 'exeinfo' Package
[Overview][Types][Procedures and functions][Index] [#rtl]

OpenExeFile

Open an executable file.

Declaration

Source position: exeinfo.pp line 62

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

FindExeSection

  

Find a section in the binary image.

CloseExeFile

  

Close a previously opened file.

ReadDebugLink

  

Read the location of a debug info filename.


Documentation generated on: Nov 23 2024