Loading C module under WinNT

sirotenko at fnal.gov sirotenko at fnal.gov
Wed Feb 9 18:50:29 CET 2000


Hi,

I am running Python 1.5.2 on Windows NT. I have my C module, ca,
compilled and build as dll.
1) if the name of the DLL is camodule.dll, I can not load it
with import ca, I have ImportError: module is not found
2) if the name of DLL is ca.dll - it works ok.
The problem is that I already has ca.dll from other vendor and my
package is using that ca.dll, so I must
use name different from ca.dll, otherwise python gets confused.
On unix camodule.so works ok, does anyone knows why it does not work
on Windows NT? Thanks a lot,

Vladimir




Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list