[python-win32] ctypes question DLL

Marcus Low marcus at internetnowasp.net
Tue Jul 8 06:58:08 CEST 2008


Hi,
I have been reading the documentation on ctypes and the 2.5 python on 
ctypes when it comes to loading libraries.

But surprisingly, or maybe i miss it somewhere, but How do you unload 
the loaded dll?

For eg : dllfunc = ctypes.CDLL("mylib.dll")

Later if i want to replace this dll without stopping the python program 
and reload the dll, how can this  be done?






More information about the python-win32 mailing list