ctypes LoadLibrary search path

Santoso Wijaya santoso.wijaya at gmail.com
Fri Aug 5 17:13:44 EDT 2011


Hi,

Can anyone enlighten me to the search path mechanism in ctypes' LoadLibrary?
I have a DLL that resides elsewhere that is not in any default search path.
I tried adding the path to `sys.path` before attempting to load said DLL but
I still get "WindowsError: [Error 126] The specified module could not be
found."

Thanks,

~/santa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110805/016cdf33/attachment.html>


More information about the Python-list mailing list