sys.path vs os.environ['POST']

Achim Domma domma at procoders.net
Wed May 21 07:54:27 EDT 2003


"Gerhard Häring" <gh at ghaering.de> wrote in message
news:mailman.1053508798.3673.python-list at python.org...

> That should work fine. What would also work is to put the DLLs in the
> same directory as the Python extension module (.pyd). Windows will
> search there automatically.

In simple cases yes, but not in my case. One of the involved DLLs loads
another one (as plugin) via LoadLibrary. In that case windows does not
search in  the folder of the DLL which calls LoadLibrary. So any DLL, the
dynamicaly loaded one depends on, has to be in the path.

Achim






More information about the Python-list mailing list