Sign in Join
FPDoc Onlineexperiment

dxe_load function

In unit dxeload

Load DXE file in memory.

Declaration

pascal
function dxe_load(filename: string): pointer

Description

dxe_load loads the contents of the file filename into memory. It performs the necessary relocations in the object code, and returns then a pointer to the entry point of the code.

For an example, see the emu387 unit in the RTL.

Errors

If an error occurs during the load or relocations, Nil is returned.

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