Sign in Join
FPDoc Onlineexperiment

SafeLoadLibrary function

In unit dynlibs

Saves the control word and loads a library.

Declaration

pascal
function SafeLoadLibrary(const Name: RawByteString): TLibHandle

Description

SafeLoadLibary saves the FPU control word, and calls LoadLibrary with library name Name. After that function has returned, the FPU control word is saved again. (only on Intel i386 CPUS).

See also

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