The KcsLoadable class loads a runtime derivative's binaries when a create() method is used. It generates the shared object's configuration file keywords based on class, derivative, and version identifiers. It retrieves the module name and loads the library. See "Creating OWconfig File Entries" for further information.
The KcsLoadable class then locates the KcsDLOpenXXXXCount() variable. If KcsDLOpenXXXX()Count = 0, it locates and loads the KcsInitXXXX() entry point and, if available, calls it. Then the KcsCreateXXXX() entry point is located and loaded. If everything is successful, the KcsCreateXXXX()entry point is called.
When the last of a specific derivative type is deallocated and the KcsCleanupXXXX() entry point is available, it is located, loaded, and called.