OK, found it! I just had to give my dll a new file extension: PYD, that is 
rename it from foo.dll to foo.pyd

"Boaz Feldbaum" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Hello all,
>
> I wrote an extension dll in C++ using VS2005 to be used in windows 
> platform. In pyhon 2.4 I used to copy my dll to the dlls sub-directory of 
> python installation and import my dll and it worked fine. This doesn't 
> work with python 2.5. I get the following when trying to import my dll:
>
>>>> import pywutil
> Traceback (most recent call last):
>  File "<stdin>", line 1, in <module>
> ImportError: No module named pywutil
>>>>
>
> What should I do in 2.5 to be able to import my extension dll?
>
> Thanks a lot in advance,
> Boaz.
> 


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

Reply via email to