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.

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

To use unloadable libraries in a project:

  1. In the Project Explorer, click the Settings button.

  2. Select an application or test node in the Project Explorer pane.

  3. In the Configuration Settings list, expand Build > Build Target Deployment Port.

  4. On Use unloadable library, select Yes.

  5. Select the library node of your unloadable shared library in the Project Explorer pane.

  6. In the Configuration Settings list, expand Build > Build Target Deployment Port.

  7. On Build as unloadable library, select Yes.

  8. When you have finished, click OK to validate the changes.

Related Topics

Using shared libraries | Build Settings