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

"Martin v. Löwis" martin at v.loewis.de
Wed Feb 11 13:55:40 EST 2004


Christian Seberino wrote:

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

You did not export the symbol. The easiest way to achieve this is to
use PyMODINIT_FUNC.

To improve your DLL making skills, learn about exported symbols,
import libraries, GetProcAddress, __declspec, and .def files.

Regards,
Martin




More information about the Python-list mailing list