Unloadable libraries

In some cases, the architecture of an application requires that shared libraries are loaded and unloaded dynamically during the execution in order to optimizing memory usage.

HCL OneTest Embedded supports this behavior by allowing you to specify this in the Configuration settings of the project. There are two steps to this:

  • Define a shared library as unloadable

  • Specify an application as using unloadable libraries

To use unloadable libraries in a project:

  1. In theProject Explorer, click theSettings button.
  2. Select an applicationor testnode in theProject Explorerpane.
  3. In theConfiguration Settingslist, expandBuild > Build Target Deployment Port.
  4. OnUse unloadable library, selectYes.
  5. Select the library node of your unloadable shared library in theProject Explorerpane.
  6. In theConfiguration Settingslist, expandBuild > Build Target Deployment Port.
  7. OnBuild as unloadable library, selectYes.
  8. When you have finished, clickOKto validate the changes.

Related Topics

Using shared libraries | Build Settings