In Python I load a library (pyd). But I need to unload it before a second call. In Python I get this done with: import ctypes, _ctypes dll = ctypes.CDLL('path_to_file') try: _ctypes.FreeLibrary(dll._handle) _ctypes.FreeLibrary(dll._handle) except: pass I know the FREE_LIBRARY is part of twapi, but how do I do this in TCL ? I'm not a TCL guru, so any help would be great. Continue reading...