    

 ## On this page

  

 

 # Library handling

 Last update: 10.02.2025 

## <a name="member-group"></a>FMOP library handling

DYNARDO\_FMOP\_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_initializeLibrary](group__libhandling.xhtml#ga9c8f0f808d3f27c57a3a57d5f9cf4834) () Initialize the FMOP library Allocates memory for the global script engine. Call [FMOP\_unloadLibrary()](group__libhandling.xhtml#gae0af273cc642061f90933b4af2a958ad "Unload the FMOP library Clears the FMOP library from memory. A warning is logged if the library was u...") to release it. A warning is logged if the library was initialized already. [More...](#ga9c8f0f808d3f27c57a3a57d5f9cf4834)  
 <a id="gae0af273cc642061f90933b4af2a958ad"></a>DYNARDO\_FMOP\_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) [FMOP\_unloadLibrary](group__libhandling.xhtml#gae0af273cc642061f90933b4af2a958ad) () Unload the FMOP library Clears the FMOP library from memory. A warning is logged if the library was unloaded already.   
 <a id="details" name="details"></a>## Detailed Description

## Function Documentation

<a id="ga9c8f0f808d3f27c57a3a57d5f9cf4834"></a>## [◆ ](#ga9c8f0f808d3f27c57a3a57d5f9cf4834)FMOP\_initializeLibrary()

 DYNARDO\_FMOP\_API [fmop\_error\_t](group__types.xhtml#ga4847f3fa2943ffd694eb6cbe169a8bec) FMOP\_initializeLibrary  ( ) 

Initialize the FMOP library Allocates memory for the global script engine. Call [FMOP\_unloadLibrary()](group__libhandling.xhtml#gae0af273cc642061f90933b4af2a958ad "Unload the FMOP library Clears the FMOP library from memory. A warning is logged if the library was u...") to release it. A warning is logged if the library was initialized already.

NoteThis method must be called once, before requesting the global script engine with [FMOP\_globalScriptEngine()](sos__capi__script_8h.xhtml#ace6f8c522f626dddbf5fc12d4d1d7a11 "Get the handle to the global script engine from the initialized library. The routine checks if the Lu...");