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–2017 Serena Software, Inc. All rights reserved.