SBM ModScript Reference → Additional SBM ModScript Features → Calling Functions in a DLL from SBM ModScript → Unloading the DLL
To unload the DLL when you are finished with it, call the FreeLibrary function of the library object. For example:
sbmLib.FreeLibrary();
You do not need to pass any parameters to FreeLibrary() because it attempts to free the library that was specified by SetLibraryName().
Copyright © 2007–2019 Micro Focus or one of its affiliates. All rights reserved.