Library Initialization and Termination
List of: Discussion Topic
Subjects: Building Applications, Modeler Control
Contents: Application Development Manual

The libraries for each ACIS component must be initialized before use and terminated after use. Initialization and termination functions are provided for each component library. API functions api_initialize_<ident> should be called after api_start_modeller and API functions api_terminate_<ident> should be called before api_stop_modeller.

When an ACIS component is initialized, it initializes any components upon which it depends, so an application only needs to initialize the highest level components in the flow of dependency that it uses. It is the developer's responsibility to make sure any component is initialized by the application before use.

Note The string <ident> should be substituted with the library identifier listed in the Description column of the appropriate library table in section Libraries.

The library initialization for the Base Component, Kernel Component, and Laws Component is built into function api_start_modeller, and their termination is built into api_stop_modeller, so an application may not need to explicitly initialize and terminate these components.
PDF/APPDEV/03LIB.PDF
HTM/DATA/ACIS/APPDEV/03LIB/0002.HTM