On 01/-10/-28163 02:59 PM, Sathish S wrote:
Hi Ppl,

I'm loading a dll using the *cdll.LoadLibrary *function. How can I release
the dll after I'm done with it. Are there any functions to do this.

Thanks,
Sathish


In Windows, the FreeLibrary() call will decrement the load count, and unload the DLL if it reaches zero. it's argument is the handle that LoadLibrary() returned.

I have no idea if that's available in the cdll Python interface, but it would make sense.

DaveA

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to