Extension on Windows

Ulrich Eckhardt ulrich.eckhardt at dominolaser.com
Fri Nov 19 14:12:49 CET 2010

Eric Frederich wrote:
> Do I put them [DLL dependencies] in some environment variable?
> Do I put them in site-packages along with the .pyd file, or in some
> other directory?

Take a look at the LoadLibrary() docs:

These further lead on to:
which details in what order different places are searched for DLLs.

If you put the DLL in the same directory as your PYD, it should work. This
is not the most elegant solution though, see above for more info.



Domino Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932

More information about the Python-list mailing list