[PythonCE] extending python - WinCE

Ajay abra9823 at mail.usyd.edu.au
Wed Sep 29 08:03:33 CEST 2004


hi!

does the init<modulename> function has to have a PyMODINIT_FUNC return
type.
i am building PyOpenSSL for a pocket pc using embedded visual c++ and i am
doing so by putting together all the C files together for OpenSSL/crypto
and building crypto.pyd
now crypto.c has void initcrypto

Build works fine. But when i import it, i get an error saying dynamic load
module does not define an init function (initcrypto)
the same build using VC++ 6.0 works fine on the PC and i can even import
it.

any ideas?

thanks

cheers





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


More information about the PythonCE mailing list