can't load a dll in python 2.5

Steven Bethard steven.bethard at gmail.com
Fri Feb 16 16:11:53 EST 2007


dwmaillist at gmail.com wrote:
> I am on WindowsXP.  I have a dll that I can load in python 2.3 but
> when trying to load it into python 2.5 it complains that there is
> nothing by that name.  Is there some aspect of the dll loading
> mechanism between python 2.3 and 2.5 that has changed preventing me
> from loading the dll in 2.5?  Thanks in advance for your suggestions.

Don't know if this is your problem, but as of Python 2.5, ".dll is no 
longer supported as a filename extension for extension modules. .pyd is 
now the only filename extension that will be searched for". (That's the 
last line on http://docs.python.org/whatsnew/ports.html)

HTH,

STeVe



More information about the Python-list mailing list