Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

SafeLoadLibrary

Load a library safely.

Declaration

Source position: dynlibh.inc line 50

function SafeLoadLibrary(

  const Name: RawByteString

):TLibHandle;

function SafeLoadLibrary(

  const Name: UnicodeString

):TLibHandle;

Description

SafeLoadLibrary calls LoadLibrary but restores the current FPU control word and exception mask to their current value after the library was loaded, thus preventing the loaded library initialization code from modifying their current values.

See also

LoadLibrary

  

Load a dynamic library and return a handle to it.


Documentation generated on: Oct 02 2024