FLEX/LM Licensing
When executing an Open C API program, regardless of which user exit
entry point (e.g. ufusr or ufsta, etc.), an Open C API license is used.
When you use the routine UF_UI_append_menubar_menu, an Open C API license
is captured and held for the entire NX session. In other words,
the license is not released until you exit NX.
The important item to understand about the licensing policy is that
once the Open C API custom application is installed on the Menubar, it
is active throughout the entire NX session.
During this session you can still perform a File-->Execute Open C-->User
Function or execute an Open C API program from a User Tools dialog
without using additional licenses.
NOTE: A program which uses UF_UI_append_menubar_menu should not
use the option to unload an Open C API image. Additionally, if your code
which defines UF_UI_append_menubar_menu itself loads a shared library,
this code should not attempt to unload the library. NX always
makes a strong attempt to prevent unloading a library which was coded by
using UF_UI_append_menubar_menu.