c extension works in Linux but not Windows==>?? ImportError: dynamic module does not define init function (initpeak_load)

Christian Seberino seberino at spawar.navy.mil
Wed Feb 11 13:18:41 EST 2004


I created a C extension that works in Linux great.

I tried to make a DLL of it and got an error that didn't happen in Linux...

>>> import peak_load
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: dynamic module does not define init function (initpeak_load)

I can see initpeak_load in my C code!!! Linux can see it!!!

What is wrong with my DLL making skills that causes this problem??

Chris



More information about the Python-list mailing list