dllTermInstance Link Option (OS/2)

Syntax: Default:
link(dllTermInstance[, yes])
link(dllTermInstance, no)
link(dllTermInstance, no)

This option applies only when you are building a DLL on OS/2. Use it to specify whether the termination function for the DLL is executed every time an instance of that DLL is released, or only when the last instance is released. By default only the last instance is terminated.

Consider how programs may share the DLL when you set this option. Often, you want to set dllTermInstance to yes so that when many programs share a DLL, each program's instance ends with proper cleanup. Alternatively, if you want the programs to share values, set dllTermInstance to no.

Generally, you want to set the same value for link(dllInitInstance) and dllTermInstance.



Incremental C++ Builds
C Compilation
Configuration Files


Set Build Options
Build
Build Dynamic Link Libraries
Build Subsystems


Link Options